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>
This commit is contained in:
IWASE Yusuke 2017-07-25 10:42:27 +09:00 committed by FUJITA Tomonori
parent ec04ff9f46
commit cb40f779d1
2 changed files with 3 additions and 1 deletions

View File

@ -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 = {}

2
doc/source/docutils.conf Normal file
View File

@ -0,0 +1,2 @@
[parsers]
smart_quotes: false