Add Edit on GitLab links

This commit is contained in:
benjamin melançon 2018-09-05 19:37:44 -04:00
parent a998df496b
commit 1f863190f7

View file

@ -115,6 +115,14 @@ html_static_path = ['_static']
# #
# html_sidebars = {} # 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 --------------------------------------------- # -- Options for HTMLHelp output ---------------------------------------------