summaryrefslogtreecommitdiff
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorStephen Kitt <steve@sk2.org>2019-06-28 20:38:41 +0200
committerJonathan Corbet <corbet@lwn.net>2019-06-30 15:30:34 -0600
commit7282a93f4df586cac84a81c37f38cccec2e1d8bb (patch)
tree5518a29a135076018cc3b218e8b0afc9015d7633 /Documentation/conf.py
parentacb6258acc4fbb76449eec6d0c7ca25254671e31 (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.py2
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 = {}