[docs] [issue35472] python 3.7.2 rc1 bumped the build requirements for no reason
STINNER Victor
report at bugs.python.org
Wed Dec 12 11:35:30 EST 2018
STINNER Victor <vstinner at redhat.com> added the comment:
"for no reason"
I guess that it's related to this change:
commit c03bf0ae794c3bec9b56f38164535fd1f5bfc04a
Author: Adrian Liaw <adrianliaw2000 at gmail.com>
Date: Mon Nov 5 05:04:51 2018 +0800
Doc: Disable smartquotes for zh-tw, zh-cn, fr and ja translations (GH-9423)
Extract:
diff --git a/Doc/conf.py b/Doc/conf.py
index 6060ac176c..eb57ee0c93 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -41,13 +41,18 @@ today_fmt = '%B %d, %Y'
# By default, highlight as Python 3.
highlight_language = 'python3'
-# Require Sphinx 1.2 for build.
-needs_sphinx = '1.2'
+# Require Sphinx 1.7 for build.
+needs_sphinx = '1.7'
# Ignore any .rst files in the venv/ directory.
venvdir = os.getenv('VENVDIR', 'venv')
exclude_patterns = [venvdir+'/*', 'README.rst']
+# Disable Docutils smartquotes for several translations
+smartquotes_excludes = {
+ 'languages': ['ja', 'fr', 'zh_TW', 'zh_CN'], 'builders': ['man', 'text'],
+}
+
According to Sphinx changelog, smartquotes_excludes is a new feature of Sphinx 1.6.6:
https://www.sphinx-doc.org/en/master/changes.html#release-1-6-6-released-jan-08-2018
----------
nosy: +vstinner
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35472>
_______________________________________
More information about the docs
mailing list