aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-03-23 18:07:13 +0100
committern-peugnet <n.peugnet@free.fr>2022-03-23 18:07:13 +0100
commitf2fc8830d29b31ae6cb5d980644f0020dae21e06 (patch)
tree632bab3fb6f51388779c8259c9854d8c924636fd /conf.py
parentf6777b48cc37c54f80f04966b640bf3a74badfe1 (diff)
downloadclub1-docs-f2fc8830d29b31ae6cb5d980644f0020dae21e06.tar.gz
club1-docs-f2fc8830d29b31ae6cb5d980644f0020dae21e06.zip
fix some links & add github config for RTD theme
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py15
1 files changed, 14 insertions, 1 deletions
diff --git a/conf.py b/conf.py
index 37ee5e4..7637981 100644
--- a/conf.py
+++ b/conf.py
@@ -17,7 +17,7 @@
# -- Project information -----------------------------------------------------
-project = 'Docs CLUB1'
+project = 'Documentation CLUB1'
copyright = '2022, Nicolas PEUGNET'
author = 'Nicolas PEUGNET'
@@ -59,6 +59,19 @@ exclude_patterns = [
#
html_theme = 'sphinx_rtd_theme'
+html_context = {
+ 'display_github': True,
+ 'github_user': 'club-1',
+ 'github_repo': 'docs',
+ 'github_version': 'main/',
+}
+
+html_theme_options = {
+ 'prev_next_buttons_location': 'bottom',
+ 'style_external_links': True,
+ 'vcs_pageview_mode': 'edit',
+}
+
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".