Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c03bf0ae
Commit
c03bf0ae
authored
Nov 05, 2018
by
Adrian Liaw
Committed by
Julien Palard
Nov 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc: Disable smartquotes for zh-tw, zh-cn, fr and ja translations (GH-9423)
parent
0edc7b1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
Doc/conf.py
Doc/conf.py
+7
-2
Doc/docutils.conf
Doc/docutils.conf
+0
-2
No files found.
Doc/conf.py
View file @
c03bf0ae
...
...
@@ -41,13 +41,18 @@ today_fmt = '%B %d, %Y'
# 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
# -----------------------
...
...
Doc/docutils.conf
deleted
100644 → 0
View file @
0edc7b1b
[
restructuredtext
parser
]
smartquotes
-
locales
:
ja
:
""
''
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment