|
231 | 231 |
|
232 | 232 | # -- Options for HTML output ------------------------------------------------- |
233 | 233 |
|
| 234 | +# Logo |
| 235 | +html_logo = os.path.join('_static', 'logo_square.png') |
| 236 | + |
| 237 | +# The theme to use for HTML and HTML Help pages. See the documentation for |
| 238 | +# a list of builtin themes. |
| 239 | +# Use modified RTD theme with overrides in custom.css and custom.js |
| 240 | +html_theme = 'sphinx_rtd_light_dark' |
| 241 | +html_theme_options = { |
| 242 | + 'logo_only': True, |
| 243 | + 'display_version': False, |
| 244 | + 'collapse_navigation': True, |
| 245 | + 'navigation_depth': 4, |
| 246 | + 'prev_next_buttons_location': 'bottom', # top and bottom |
| 247 | +} |
| 248 | + |
234 | 249 | # Add any paths that contain custom static files (such as style sheets) here, |
235 | 250 | # relative to this directory. They are copied after the builtin static files, |
236 | 251 | # so a file named "default.css" will overwrite the builtin "default.css". |
|
248 | 263 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
249 | 264 | # pixels large. Static folder is for CSS and image files. Use ImageMagick to |
250 | 265 | # convert png to ico on command line with 'convert image.png image.ico' |
251 | | -html_favicon = 'logo_blank.ico' |
252 | | - |
253 | | -# Logo |
254 | | -html_logo = 'logo_square.png' |
255 | | - |
256 | | -# The theme to use for HTML and HTML Help pages. See the documentation for |
257 | | -# a list of builtin themes. |
258 | | -# Use modified RTD theme with overrides in custom.css and custom.js |
259 | | -html_theme = 'sphinx_rtd_light_dark' |
260 | | -html_theme_options = { |
261 | | - 'logo_only': True, |
262 | | - 'display_version': False, |
263 | | - 'collapse_navigation': True, |
264 | | - 'navigation_depth': 4, |
265 | | - 'prev_next_buttons_location': 'bottom', # top and bottom |
266 | | -} |
267 | | - |
| 266 | +html_favicon = os.path.join('_static', 'logo_blank.ico') |
268 | 267 |
|
269 | 268 | # -- Options for HTMLHelp output --------------------------------------------- |
270 | 269 |
|
|
0 commit comments