diff options
Diffstat (limited to 'Documentation/conf.py')
| -rw-r--r-- | Documentation/conf.py | 12 | 
1 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py index 5830b01c5642..d148f3e8dd57 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -346,9 +346,9 @@ sys.stderr.write("Using %s theme\n" % html_theme)  html_static_path = ['sphinx-static']  # If true, Docutils "smart quotes" will be used to convert quotes and dashes -# to typographically correct entities.  This will convert "--" to "—", -# which is not always what we want, so disable it. -smartquotes = False +# to typographically correct entities.  However, conversion of "--" to "—" +# is not always what we want, so enable only quotes. +smartquotes_action = 'q'  # Custom sidebar templates, maps document names to template names.  # Note that the RTD theme ignores this @@ -388,6 +388,12 @@ latex_elements = {          verbatimhintsturnover=false,      ''', +    # +    # Some of our authors are fond of deep nesting; tell latex to +    # cope. +    # +    'maxlistdepth': '10', +      # For CJK One-half spacing, need to be in front of hyperref      'extrapackages': r'\usepackage{setspace}',  |