Add explicit home link to sidebar

develop
lethosor 2020-07-12 00:30:28 -04:00
parent 279d3e80f2
commit a8d34bb64e
3 changed files with 8 additions and 2 deletions

@ -212,7 +212,7 @@ extlinks = {
} }
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = [] templates_path = ["docs/templates"]
# The suffix(es) of source filenames. # The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string: # You can specify multiple suffix as a list of string:

@ -49,7 +49,7 @@ div.sphinxsidebar {
overflow-y: auto; overflow-y: auto;
} }
div.sphinxsidebar h3 > a { div.sphinxsidebar h3.logo-name a {
border-bottom: 1px dotted #999; border-bottom: 1px dotted #999;
} }

@ -0,0 +1,6 @@
<p class="logo">
<a href="{{ pathto(master_doc) }}">
<img class="logo" src="{{ pathto('_static/' ~ theme_logo, 1) }}" alt="Logo"/>
<h3 class="logo logo-name">Home</h3>
</a>
</p>