From cb40f779d11b862d7f8bf8267dbb570b66821549 Mon Sep 17 00:00:00 2001 From: IWASE Yusuke Date: Tue, 25 Jul 2017 10:42:27 +0900 Subject: doc: Deprecated option html_use_smartypants "html_use_smartypants" in conf.py is deprecated in Sphinx 1.6. This patch fixes to use "smart_quotes" in docutils.conf instead. Signed-off-by: IWASE Yusuke Signed-off-by: FUJITA Tomonori --- doc/source/conf.py | 2 +- doc/source/docutils.conf | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 doc/source/docutils.conf (limited to 'doc/source') diff --git a/doc/source/conf.py b/doc/source/conf.py index 8c0f1937..23b11874 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -132,7 +132,7 @@ html_static_path = ['_static'] # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. #html_use_smartypants = True -html_use_smartypants = False +# (Deprecated since version 1.6) # Custom sidebar templates, maps document names to template names. #html_sidebars = {} diff --git a/doc/source/docutils.conf b/doc/source/docutils.conf new file mode 100644 index 00000000..168f9e2b --- /dev/null +++ b/doc/source/docutils.conf @@ -0,0 +1,2 @@ +[parsers] +smart_quotes: false -- cgit v1.2.3