From 7282a93f4df586cac84a81c37f38cccec2e1d8bb Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Fri, 28 Jun 2019 20:38:41 +0200 Subject: [PATCH] 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 --- Documentation/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {} -- 2.30.2