|
14 | 14 |
|
15 | 15 | extensions = ['sphinx.ext.coverage', 'sphinx.ext.doctest', |
16 | 16 | 'pyspecific', 'c_annotations'] |
17 | | -templates_path = ['tools'] |
18 | 17 |
|
19 | 18 | # General substitutions. |
20 | 19 | project = 'Python' |
|
31 | 30 | # Else, today_fmt is used as the format for a strftime call. |
32 | 31 | today_fmt = '%B %d, %Y' |
33 | 32 |
|
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 | | - |
44 | 33 | # By default, highlight as Python 3. |
45 | 34 | highlight_language = 'python3' |
46 | 35 |
|
|
51 | 40 | # Options for HTML output |
52 | 41 | # ----------------------- |
53 | 42 |
|
| 43 | +# Use our custom theme. |
54 | 44 | html_theme = 'pydoctheme' |
55 | 45 | html_theme_path = ['tools'] |
56 | 46 | html_theme_options = {'collapsiblesidebar': True} |
57 | 47 |
|
| 48 | +# Short title used e.g. for <title> HTML tags. |
58 | 49 | html_short_title = '%s Documentation' % release |
59 | 50 |
|
60 | 51 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
61 | 52 | # using the given strftime format. |
62 | 53 | html_last_updated_fmt = '%b %d, %Y' |
63 | 54 |
|
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'] |
67 | 57 |
|
68 | 58 | # Custom sidebar templates, filenames relative to this file. |
69 | 59 | html_sidebars = { |
|
145 | 135 | # Get LaTeX to handle Unicode correctly |
146 | 136 | latex_elements = {'inputenc': r'\usepackage[utf8x]{inputenc}', 'utf8extra': ''} |
147 | 137 |
|
| 138 | + |
148 | 139 | # Options for the coverage checker |
149 | 140 | # -------------------------------- |
150 | 141 |
|
|
180 | 171 | coverage_ignore_c_items = { |
181 | 172 | # 'cfunction': [...] |
182 | 173 | } |
| 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