From 1372be61f407c5f2f20852c39c72505801d09258 Mon Sep 17 00:00:00 2001 From: Bryan BRANCOTTE <bryan.brancotte@pasteur.fr> Date: Tue, 15 Oct 2019 11:39:16 +0200 Subject: [PATCH] Add "Edit on gitlab" link --- doc/source/conf.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/source/conf.py b/doc/source/conf.py index 49500819..c447329a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -181,3 +181,14 @@ napoleon_use_rtype = False # More legible autosummary_generate = True exclude_patterns = ['_build'] + +# Edit on gitlab link +html_context = { + "display_gitlab": True, # Integrate Gitlab + "gitlab_user": "statistical-genetics", # Username + "gitlab_host": "gitlab.pasteur.fr", + "gitlab_repo": "jass", # Repo name + "gitlab_version": "master", # Version + "conf_py_path": "/doc/source/", # Path in the checkout to the docs root +} + -- GitLab