diff options
author | Stephen Kitt <steve@sk2.org> | 2019-06-28 14:38:41 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2019-06-30 17:30:34 -0400 |
commit | 7282a93f4df586cac84a81c37f38cccec2e1d8bb (patch) | |
tree | 5518a29a135076018cc3b218e8b0afc9015d7633 /Documentation/conf.py | |
parent | acb6258acc4fbb76449eec6d0c7ca25254671e31 (diff) |
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 = { | |||
201 | 201 | ||
202 | # If true, SmartyPants will be used to convert quotes and dashes to | 202 | # If true, SmartyPants will be used to convert quotes and dashes to |
203 | # typographically correct entities. | 203 | # typographically correct entities. |
204 | #html_use_smartypants = True | 204 | html_use_smartypants = False |
205 | 205 | ||
206 | # Custom sidebar templates, maps document names to template names. | 206 | # Custom sidebar templates, maps document names to template names. |
207 | #html_sidebars = {} | 207 | #html_sidebars = {} |