Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François Revol
firmware
Commits
a2ef75d3
Verified
Commit
a2ef75d3
authored
Jul 14, 2019
by
Rahix
Browse files
doc: Add "Edit on GitLab" button
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
f059c965
Changes
1
Show whitespace changes
Inline
Side-by-side
Documentation/conf.py
View file @
a2ef75d3
...
...
@@ -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 ---------------------------------------------------- {{{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment