Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
Back to home link in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
zrzka committed Sep 30, 2017
1 parent 7a39090 commit e0e758e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/source/_templates/global_root.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<div role="note" aria-label="source link">
<h3>Documentation</h3>
<ul class="this-page-menu">
<li><a href="{{ pathto(master_doc) }}" rel="nofollow">Back to home</a></li>
</ul>
</div>
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@

html_theme = 'alabaster'
html_static_path = ['_static']
# html_sidebars = {'**': ['localtoc.html', 'relations.html', 'searchbox.html']}
html_sidebars = {'**': ['localtoc.html', 'relations.html', 'global_root.html']}



# -- Options for HTMLHelp output ------------------------------------------
Expand Down

0 comments on commit e0e758e

Please sign in to comment.