Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.2k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Tested locally and it works for me. I'll try to get the docs azure builder use the right Sphinx version. We're already usingsphinx > 1.7 in production so it's OK. |
@adrian Could you bump the sphinx version in |
This is a replacement forpython#9337.* Using conf.py to disable smartquotes through Sphinx instead of using docutils.conf* Disable smartquotes for Japanese, French and Traditional Chinese translationsSee:* Suggesting to use conf.py:https://mail.python.org/pipermail/doc-sig/2018-September/004084.html* Original smartquotes issue in ja translations:https://bugs.python.org/issue31793* Disabling for ja:python#4006* Smartquotes issue in fr:python/python-docs-fr#303* Smartquotes issue in zh_TW:https://mail.python.org/pipermail/doc-sig/2018-August/004079.html
Using smartquotes_excludes option in conf.py requires Sphinx 1.6.6 or more.See:http://www.sphinx-doc.org/en/1.7/config.html#confval-smartquotes_excludes
….yml to 1.7Disabling smartquotes in conf.py with Sphinx is available in Sphinx 1.7thus updating the version requirements for building docs on CI.
675534a
tobe13af3
Compare@JulienPalard Done! |
JulienPalard pushed a commit to JulienPalard/cpython that referenced this pull requestNov 5, 2018
…thonGH-9423)(cherry picked from commitc03bf0a)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a replacement for#9337 that uses
smartquotes_excludes
config in conf.py instead of docutils.conf. See the suggestion inhttps://mail.python.org/pipermail/doc-sig/2018-September/004084.htmlSee also:#4006
@JulienPalard Please test a build with this patch and validate if it fixes the smartquotes issue for French translations.