Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 = {}