STINNER Victor <vstin...@redhat.com> added the comment:
"for no reason" I guess that it's related to this change: commit c03bf0ae794c3bec9b56f38164535fd1f5bfc04a Author: Adrian Liaw <adrianliaw2...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue35472> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com