Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6b2d9b3

Browse files
adrianliawJulienPalard
authored andcommitted
Doc: Disable smartquotes for zh-tw, zh-cn, fr and ja translations (pythonGH-9423)
(cherry picked from commitc03bf0a)
1 parent6ad277b commit6b2d9b3

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

‎Doc/conf.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,18 @@
3434
# By default, highlight as Python 3.
3535
highlight_language='python3'
3636

37-
# Require Sphinx 1.2 for build.
38-
needs_sphinx='1.2'
37+
# Require Sphinx 1.7 for build.
38+
needs_sphinx='1.7'
3939

4040
# Ignore any .rst files in the venv/ directory.
4141
venvdir=os.getenv('VENVDIR','venv')
4242
exclude_patterns= [venvdir+'/*','README.rst']
4343

44+
# Disable Docutils smartquotes for several translations
45+
smartquotes_excludes= {
46+
'languages': ['ja','fr','zh_TW','zh_CN'],'builders': ['man','text'],
47+
}
48+
4449

4550
# Options for HTML output
4651
# -----------------------

‎Doc/docutils.conf

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp