Skip to content
Snippets Groups Projects
Commit 7282a93f authored by Stephen Kitt's avatar Stephen Kitt Committed by Jonathan Corbet
Browse files

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: default avatarStephen Kitt <steve@sk2.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent acb6258a
No related branches found
No related tags found
No related merge requests found
......@@ -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 = {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment