"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.yusu...@gmail.com>
---
 doc/source/conf.py       | 2 +-
 doc/source/docutils.conf | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 doc/source/docutils.conf

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 8c0f193..23b1187 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 0000000..168f9e2
--- /dev/null
+++ b/doc/source/docutils.conf
@@ -0,0 +1,2 @@
+[parsers]
+smart_quotes: false
-- 
2.7.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to