Commit 154f273
authored
[fix] don't append CSS files to the end of html_static_path list (#153)
html_static_path is a list of paths that contain custom static files. They are
copied to the output’s _static directory **after** the theme’s static files, so a
file named default.css will overwrite the theme’s default.css [1]
Without this patch a tabs.css can't be overwritten by the `conf.py` file:
html_static_path = [ 'static/tabs.css', ]
The /static folder from sphinx-tabs needs to be added in front of
html_static_path since the last item in the list will be written last to
/_static.
[1] https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_static_path
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>1 parent 53b6a63 commit 154f273
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
| 358 | + | |
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
| |||
0 commit comments