|
33 | 33 | intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} |
34 | 34 | todo_include_todos = True |
35 | 35 |
|
36 | | -# Add any paths that contain templates here, relative to this directory. |
37 | | -templates_path = ['_templates'] |
38 | | - |
39 | 36 | # The suffix of source filenames. |
40 | 37 | source_suffix = '.rst' |
41 | 38 |
|
|
118 | 115 | } |
119 | 116 |
|
120 | 117 | # Additional static files. |
121 | | -#html_static_path = ['tools/static'] |
| 118 | +html_static_path = ['tools/static'] |
122 | 119 |
|
123 | 120 | # A shorter title for the navigation bar. Default is the same as html_title. |
124 | 121 | #html_short_title = None |
|
132 | 129 | # pixels large. |
133 | 130 | #html_favicon = None |
134 | 131 |
|
135 | | -# Add any paths that contain custom static files (such as style sheets) here, |
136 | | -# relative to this directory. They are copied after the builtin static files, |
137 | | -# so a file named "default.css" will overwrite the builtin "default.css". |
138 | | -# Commented out as Hg doesn't track empty directories. |
139 | | -#html_static_path = ['_static'] |
140 | | - |
141 | 132 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
142 | 133 | # using the given strftime format. |
143 | 134 | html_last_updated_fmt = '%b %d, %Y' |
|
146 | 137 | # typographically correct entities. |
147 | 138 | #html_use_smartypants = True |
148 | 139 |
|
149 | | -# Custom sidebar templates, maps document names to template names. |
150 | | -#html_sidebars = {} |
151 | | - |
152 | 140 | # Additional templates that should be rendered to pages, maps page names to |
153 | 141 | # template names. |
154 | 142 | #html_additional_pages = {} |
|
239 | 227 | '\/.*', |
240 | 228 | ] |
241 | 229 |
|
| 230 | +# Use our custom CSS stylesheet to differentiate us from the official python |
| 231 | +# docs. |
| 232 | +def setup(app): |
| 233 | + app.add_stylesheet('custom.css') |
0 commit comments