Message331707
"for no reason"
I guess that it's related to this change:
commit c03bf0ae794c3bec9b56f38164535fd1f5bfc04a
Author: Adrian Liaw <adrianliaw2000@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 |
|
Date |
User |
Action |
Args |
2018-12-12 16:35:30 | vstinner | set | recipients:
+ vstinner, doko, ned.deily, docs@python, mdk |
2018-12-12 16:35:30 | vstinner | set | messageid: <1544632530.17.0.788709270274.issue35472@psf.upfronthosting.co.za> |
2018-12-12 16:35:30 | vstinner | link | issue35472 messages |
2018-12-12 16:35:30 | vstinner | create | |
|