|
13 | 13 | # All configuration values have a default; values that are commented out |
14 | 14 | # serve to show the default. |
15 | 15 |
|
16 | | -import sys, os |
| 16 | +import sys |
| 17 | +import os |
17 | 18 |
|
18 | 19 | # If extensions (or modules to document with autodoc) are in another directory, |
19 | 20 | # add these directories to sys.path here. If the directory is relative to the |
|
100 | 101 | # A string of reStructuredText that will be included at the beginning of every |
101 | 102 | # source file that is read. |
102 | 103 | rst_prolog = ( |
103 | | -# For fill-in-the-blank questions, provide a convenient means to indicate a blank. |
104 | | -""" |
| 104 | + # For fill-in-the-blank questions, provide a convenient means to indicate a blank. |
| 105 | + """ |
105 | 106 |
|
106 | 107 | .. |blank| replace:: :blank:`x` |
107 | 108 | """ |
108 | 109 |
|
109 | | -# For literate programming files, provide a convenient way to refer to a source file's name. See `runestone.lp.lp._docname_role`. |
110 | | -""".. |docname| replace:: :docname:`name` |
| 110 | + # For literate programming files, provide a convenient way to refer to a source file's name. See `runestone.lp.lp._docname_role`. |
| 111 | + """.. |docname| replace:: :docname:`name` |
111 | 112 | """ |
112 | 113 | ) |
113 | 114 |
|
|
156 | 157 | html_theme = 'sphinx_bootstrap' |
157 | 158 |
|
158 | 159 | # If using a non-sphinx theme, the path to the theme folder must be in this list |
159 | | -html_theme_path = [pkg_resources.resource_filename('runestone', 'common/project_template/_templates/plugin_layouts')] |
| 160 | +html_theme_path = [pkg_resources.resource_filename( |
| 161 | + 'runestone', 'common/project_template/_templates/plugin_layouts')] |
160 | 162 |
|
161 | 163 | # To override individual templates from the theme, you can make a directory and add its path |
162 | 164 | # relative to this file to the templates_path list. In it, place copies of any template files |
|
216 | 218 | # relative to this directory. They are copied after the builtin static files, |
217 | 219 | # so a file named "default.css" will overwrite the builtin "default.css". |
218 | 220 | # Example: html_static_path = runestone_static_dirs() + ['_static', 'other'] |
219 | | -html_static_path = runestone_static_dirs() |
| 221 | +html_static_path = ["_sources/_static"] + runestone_static_dirs() |
220 | 222 |
|
221 | 223 | # List of extra stylesheets that should be added to all html pages |
222 | 224 | # Files must be on a path contained in html_static_path |
|
234 | 236 | html_title = 'Runestone Interactive Overview' |
235 | 237 |
|
236 | 238 | # A shorter title for the navigation bar. Default is the same as html_title. |
237 | | -html_short_title ='Runestone Interactive Overview' |
| 239 | +html_short_title = 'Runestone Interactive Overview' |
238 | 240 |
|
239 | 241 | # Logo is included at the top of the page |
240 | 242 | #html_logo = "../source/_static/logo_small.png" |
|
281 | 283 | # It True, sets js files from Sphinx & Runestone to be loaded with defer attr |
282 | 284 | # substantially speeding up page rendering. May cause issues with books that |
283 | 285 | # have custom directives or raw html that assume jquery or another library |
284 | | -# is loaded before body is parsed. |
| 286 | +# is loaded before body is parsed. |
285 | 287 | html_defer_js = True |
286 | 288 |
|
287 | 289 | # Output file base name for HTML help builder. |
|
0 commit comments