From 84f3a01e9f7818e213d25f54b9614c54bbe156f6 Mon Sep 17 00:00:00 2001 From: Masayuki Igawa Date: Fri, 31 Mar 2017 14:56:13 +0900 Subject: [PATCH] Disable SmartyPants for docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit disables SmartyPants feature for docs because it renders dashes into a en-dash[1]. e.g. '--' to '–'(–). However it's not good behavior for command options. [1] http://www.sphinx-doc.org/en/stable/config.html#confval-html_use_smartypants Change-Id: I9b0a84298275bb87237033942f0ddf9d271e9451 --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 8d40c4f..1b42368 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -114,7 +114,7 @@ html_last_updated_fmt = os.popen(git_cmd).read() # 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 = {}