8000 Doc: Disable smartquotes for zh-tw, fr and ja translations by adrianliaw · Pull Request #9423 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Doc: Disable smartquotes for zh-tw, fr and ja translations #9423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions Doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,18 @@
# 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'],
}


# Options for HTML output
# -----------------------
Expand Down
2 changes: 0 additions & 2 deletions Doc/docutils.conf

This file was deleted.

0