diff options
author | n-peugnet <n.peugnet@free.fr> | 2022-04-17 22:34:44 +0200 |
---|---|---|
committer | Nicolas Peugnet <n.peugnet@free.fr> | 2022-04-17 23:04:31 +0200 |
commit | a2c37e20a1a9220ad305cc62ea56c66c52717a15 (patch) | |
tree | 1deb315e401f72f9ada48916c1cb0b28bfff0c9a | |
parent | 1f9cd10c8aca2105445d049d05af5a24dbd7c2bc (diff) | |
download | club1-docs-a2c37e20a1a9220ad305cc62ea56c66c52717a15.tar.gz club1-docs-a2c37e20a1a9220ad305cc62ea56c66c52717a15.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') |