Commit 146497ee authored by mlncn's avatar mlncn

Adding display_gitlab to the HTML context is indeed what produces the edit on gitlab button!

parent 7cdbc0f4
......@@ -103,6 +103,13 @@ todo_include_todos = False
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = [sphinx_rtd_theme.get_html_theme_path()]
html_context = {
"display_gitlab": True, # Integrate Gitlab
"gitlab_user": "drutopia", # 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 ------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment