Display "Edit on Gitlab" button
This commit is contained in:
parent
6d786c7358
commit
92a3081b2e
|
@ -61,3 +61,11 @@ html_theme = 'sphinx_rtd_theme'
|
||||||
# relative to this directory. They are copied after the builtin static files,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
html_static_path = ['_static']
|
html_static_path = ['_static']
|
||||||
|
|
||||||
|
html_context = {
|
||||||
|
'gitlab_user': 'ynerant',
|
||||||
|
'gitlab_repo': 'squirrel-battle',
|
||||||
|
'gitlab_host': 'gitlab.crans.org',
|
||||||
|
'gitlab_version': 'master',
|
||||||
|
'display_gitlab': True,
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue