Verified Commit a2ef75d3 authored by Rahix's avatar Rahix
Browse files

doc: Add "Edit on GitLab" button



Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent f059c965
......@@ -66,6 +66,23 @@ except ImportError:
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["static"]
# Theme Options
html_theme_options = {
"style_external_links": True,
}
# Show "Edit on GitLab" links
html_show_sourcelink = False
html_context = {
"display_gitlab": True,
"gitlab_host": "git.card10.badge.events.ccc.de",
"gitlab_user": "card10",
"gitlab_repo": "firmware",
"gitlab_version": "master/",
"conf_py_path": "Documentation/",
"theme_vcs_pageview_mode": "edit",
}
# }}}
# -- Options for Auto-Doc ---------------------------------------------------- {{{
......
Supports Markdown
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