diff --git a/conf.py b/conf.py index c5bca90..85b19be 100644 --- a/conf.py +++ b/conf.py @@ -115,6 +115,14 @@ html_static_path = ['_static'] # # html_sidebars = {} +# Add context to make Edit on GitLab links. Borrowed from Drutopia docs config. +html_context = { + "display_gitlab": True, # Integrate Gitlab + "gitlab_user": "agaric", # Organization + "gitlab_repo": "documentation", # Repo name + "gitlab_version": "master", # Version + "conf_py_path": "/", # Path in the checkout to the docs root +} # -- Options for HTMLHelp output ---------------------------------------------