Kaydet (Commit) c03bf0ae authored tarafından Adrian Liaw's avatar Adrian Liaw Kaydeden (comit) Julien Palard

Doc: Disable smartquotes for zh-tw, zh-cn, fr and ja translations (GH-9423)

üst 0edc7b1b
...@@ -41,13 +41,18 @@ today_fmt = '%B %d, %Y' ...@@ -41,13 +41,18 @@ today_fmt = '%B %d, %Y'
# By default, highlight as Python 3. # By default, highlight as Python 3.
highlight_language = 'python3' highlight_language = 'python3'
# Require Sphinx 1.2 for build. # Require Sphinx 1.7 for build.
needs_sphinx = '1.2' needs_sphinx = '1.7'
# Ignore any .rst files in the venv/ directory. # Ignore any .rst files in the venv/ directory.
venvdir = os.getenv('VENVDIR', 'venv') venvdir = os.getenv('VENVDIR', 'venv')
exclude_patterns = [venvdir+'/*', 'README.rst'] 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 # Options for HTML output
# ----------------------- # -----------------------
......
[restructuredtext parser]
smartquotes-locales: ja: ""''
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment