diff options
author | n-peugnet <n.peugnet@free.fr> | 2022-04-17 22:34:44 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2022-04-17 22:34:44 +0200 |
commit | 639745876f376362d33e5a2e4e2950b2011663c3 (patch) | |
tree | 16ce6a736c803b00300e536ce0af2934d767ac43 | |
parent | 8aae84f43ded6b6e1dde51632a60d7c795f28b61 (diff) | |
download | club1-docs-639745876f376362d33e5a2e4e2950b2011663c3.tar.gz club1-docs-639745876f376362d33e5a2e4e2950b2011663c3.zip |
style: better way to include additional css files
-rw-r--r-- | conf.py | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -91,6 +91,12 @@ today_fmt = '%x' html_favicon = '_static/favicon.ico' +# These paths are either relative to html_static_path +# or fully qualified paths (eg. https://...) +html_css_files = [ + 'club1.css', +] + # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. html_theme = 'sphinx_rtd_theme' @@ -137,10 +143,3 @@ man_show_urls = True latex_elements = { 'papersize': 'a4paper', } - - -# -- Define some functions --------------------------------------------------- - -def setup(app): - # Add custom CSS - app.add_css_file('club1.css') |