[3.7] Doc: Disable smartquotes for zh-tw, zh-cn, fr and ja translations (GH-9423) by JulienPalard · Pull Request #10344 · python/cpython
# 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'], }
# Options for HTML output # -----------------------