From f2fc8830d29b31ae6cb5d980644f0020dae21e06 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 23 Mar 2022 18:07:13 +0100 Subject: fix some links & add github config for RTD theme --- conf.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'conf.py') 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". -- cgit v1.2.3