update docsite breadcrumbs from sphinx_rtd_theme (#57316)

* improve breadcrumbs
* get edit on github working again
This commit is contained in:
Sandra McCann
2019-06-05 15:26:34 -04:00
committed by Alicia Cozine
parent 96693600f9
commit 3136007032
2 changed files with 97 additions and 15 deletions

View File

@@ -135,7 +135,16 @@ html_short_title = 'Ansible Documentation'
html_theme_options = {
'canonical_url': "https://docs.ansible.com/ansible/latest/",
'collapse_navigation': "True"
'collapse_navigation': "True",
'vcs_pageview_mode': 'edit'
}
html_context = {
'display_github': 'True',
'github_user': 'ansible',
'github_repo': 'ansible',
'github_version': 'devel/docs/docsite/rst/',
'github_module_version': 'devel/lib/ansible/modules/'
}
# The style sheet to use for HTML and HTML Help pages. A file of that name