summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-07-25 10:42:27 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-07-30 22:07:06 +0900
commitcb40f779d11b862d7f8bf8267dbb570b66821549 (patch)
treea1ed7658bff3a6c7ec29ef5889be5636b4e5fd16
parentec04ff9f46edbd1eaf478791b93edf26d698de5e (diff)
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 <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--doc/source/conf.py2
-rw-r--r--doc/source/docutils.conf2
2 files changed, 3 insertions, 1 deletions
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