diff options
author | Stephen Kitt <steve@sk2.org> | 2019-06-28 20:38:41 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2019-06-30 15:30:34 -0600 |
commit | 7282a93f4df586cac84a81c37f38cccec2e1d8bb (patch) | |
tree | 5518a29a135076018cc3b218e8b0afc9015d7633 /Documentation/conf.py | |
parent | acb6258acc4fbb76449eec6d0c7ca25254671e31 (diff) | |
download | lwn-7282a93f4df586cac84a81c37f38cccec2e1d8bb.tar.gz lwn-7282a93f4df586cac84a81c37f38cccec2e1d8bb.zip |
Disable Sphinx SmartyPants in HTML output
The handling of dashes in particular results in confusing
documentation in a number of instances, since "--" becomes an
en-dash. This disables SmartyPants wholesale, losing smart quotes
along with smart dashes.
With Sphinx 1.6 we could fine-tune the conversion, using the new
smartquotes and smartquotes_action settings.
Signed-off-by: Stephen Kitt <steve@sk2.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r-- | Documentation/conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py index a502baecbb85..3b2397bcb565 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -201,7 +201,7 @@ html_context = { # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. -#html_use_smartypants = True +html_use_smartypants = False # Custom sidebar templates, maps document names to template names. #html_sidebars = {} |