Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa7a295

Browse files
committed
merge with 3.4
2 parents 1cf8a0a + 9a333a6 commit fa7a295

1 file changed

Lines changed: 11 additions & 14 deletions

File tree

Doc/conf.py

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
extensions = ['sphinx.ext.coverage', 'sphinx.ext.doctest',
1616
'pyspecific', 'c_annotations']
17-
templates_path = ['tools']
1817

1918
# General substitutions.
2019
project = 'Python'
@@ -31,16 +30,6 @@
3130
# Else, today_fmt is used as the format for a strftime call.
3231
today_fmt = '%B %d, %Y'
3332

34-
# Relative filename of the reference count data file.
35-
refcount_file = 'data/refcounts.dat'
36-
37-
# If true, '()' will be appended to :func: etc. cross-reference text.
38-
add_function_parentheses = True
39-
40-
# If true, the current module name will be prepended to all description
41-
# unit titles (such as .. function::).
42-
add_module_names = True
43-
4433
# By default, highlight as Python 3.
4534
highlight_language = 'python3'
4635

@@ -51,19 +40,20 @@
5140
# Options for HTML output
5241
# -----------------------
5342

43+
# Use our custom theme.
5444
html_theme = 'pydoctheme'
5545
html_theme_path = ['tools']
5646
html_theme_options = {'collapsiblesidebar': True}
5747

48+
# Short title used e.g. for <title> HTML tags.
5849
html_short_title = '%s Documentation' % release
5950

6051
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
6152
# using the given strftime format.
6253
html_last_updated_fmt = '%b %d, %Y'
6354

64-
# If true, SmartyPants will be used to convert quotes and dashes to
65-
# typographically correct entities.
66-
html_use_smartypants = True
55+
# Path to find HTML templates.
56+
templates_path = ['tools']
6757

6858
# Custom sidebar templates, filenames relative to this file.
6959
html_sidebars = {
@@ -145,6 +135,7 @@
145135
# Get LaTeX to handle Unicode correctly
146136
latex_elements = {'inputenc': r'\usepackage[utf8x]{inputenc}', 'utf8extra': ''}
147137

138+
148139
# Options for the coverage checker
149140
# --------------------------------
150141

@@ -180,3 +171,9 @@
180171
coverage_ignore_c_items = {
181172
# 'cfunction': [...]
182173
}
174+
175+
# Options for extensions
176+
# ----------------------
177+
178+
# Relative filename of the reference count data file.
179+
refcount_file = 'data/refcounts.dat'

0 commit comments

Comments
 (0)