From: Stephen Kitt Date: Fri, 28 Jun 2019 18:38:41 +0000 (+0200) Subject: Disable Sphinx SmartyPants in HTML output X-Git-Tag: v5.3-rc1~156^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7282a93f4df586cac84a81c37f38cccec2e1d8bb;p=thirdparty%2Flinux.git 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 Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/conf.py b/Documentation/conf.py index a502baecbb85d..3b2397bcb5650 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 = {}