[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Fix smartquotes configuration



commit 06aba288d13400cc491e5dfb51432f21c009a106
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Tue May 12 16:06:49 2020 -0700

    Fix smartquotes configuration
    
    Sphinx deprecated the configuration option we used to disable smartquotes...
    
      RemovedInSphinx17Warning: html_use_smartypants option is deprecated. Smart
      quotes are on by default; if you want to disable or customize them, use the
      smart_quotes option in docutils.conf.
    
    Despite this warning the actual configuration name they went with doesn't have
    an underscore...
    
      https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-smartquotes
---
 docs/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/conf.py b/docs/conf.py
index 247220f8..5e20a71b 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -146,7 +146,7 @@ html_static_path = ['_static']
 
 # If true, SmartyPants will be used to convert quotes and dashes to
 # typographically correct entities.
-html_use_smartypants = False
+smartquotes = False
 
 # Custom sidebar templates, maps document names to template names.
 #html_sidebars = {}



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits