aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-04-17 22:34:44 +0200
committerNicolas Peugnet <n.peugnet@free.fr>2022-04-17 23:04:31 +0200
commita2c37e20a1a9220ad305cc62ea56c66c52717a15 (patch)
tree1deb315e401f72f9ada48916c1cb0b28bfff0c9a /conf.py
parent1f9cd10c8aca2105445d049d05af5a24dbd7c2bc (diff)
downloadclub1-docs-a2c37e20a1a9220ad305cc62ea56c66c52717a15.tar.gz
club1-docs-a2c37e20a1a9220ad305cc62ea56c66c52717a15.zip
style: better way to include additional css files
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/conf.py b/conf.py
index 21912d8..6cdb7fb 100644
--- a/conf.py
+++ b/conf.py
@@ -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')