aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-04-17 22:34:44 +0200
committern-peugnet <n.peugnet@free.fr>2022-04-17 22:34:44 +0200
commit639745876f376362d33e5a2e4e2950b2011663c3 (patch)
tree16ce6a736c803b00300e536ce0af2934d767ac43
parent8aae84f43ded6b6e1dde51632a60d7c795f28b61 (diff)
downloadclub1-docs-639745876f376362d33e5a2e4e2950b2011663c3.tar.gz
club1-docs-639745876f376362d33e5a2e4e2950b2011663c3.zip
style: better way to include additional css files
-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')