Problem Description
When visiting the Quickstart page of the Requests documentation, there is currently no clickable button to return to the Home page. This could be resolved if other pages (including Quickstart) featured a logo at the top of the left sidebar that links back to the home page, consistent with the Home page itself.
The cause of this behavior seems to be as follows:
First, in the html_sidebars configuration within conf.py, the top sidebar template is set to sidebarintro.html only for the index page. For all other pages, the top template is set to sidebarlogo.html:
|
html_sidebars = { |
|
"index": ["sidebarintro.html", "sourcelink.html", "searchbox.html", "hacks.html"], |
|
"**": [ |
|
"sidebarlogo.html", |
|
"localtoc.html", |
|
"relations.html", |
|
"sourcelink.html", |
|
"searchbox.html", |
|
"hacks.html", |
|
], |
|
} |
Currently, the hyperlinked logo is only implemented in sidebarintro.html:
|
<p class="logo"> |
|
<a href="{{ pathto(master_doc) }}"> |
|
<img class="logo" src="{{ pathto('_static/requests-sidebar.png', 1) }}" alt="Requests logo" /> |
|
</a> |
|
</p> |

Problem Description
When visiting the Quickstart page of the Requests documentation, there is currently no clickable button to return to the Home page. This could be resolved if other pages (including Quickstart) featured a logo at the top of the left sidebar that links back to the home page, consistent with the Home page itself.
The cause of this behavior seems to be as follows:
First, in the
html_sidebarsconfiguration withinconf.py, the top sidebar template is set tosidebarintro.htmlonly for theindexpage. For all other pages, the top template is set tosidebarlogo.html:requests/docs/conf.py
Lines 174 to 184 in ef439eb
Currently, the hyperlinked logo is only implemented in
sidebarintro.html:requests/docs/_templates/sidebarintro.html
Lines 1 to 5 in ef439eb