I'm documenting my Python project using Sphinx tool and my HTML output currently looks like this:
As you can see the tool bar has "Navigation" heading with nothing under it. When I add the following code to my conf.py
file, the HTML toolbar remains the same (with nothing under Navigation):
html_sidebars = {
'**': [
'about.html',
'navigation.html',
'searchbox.html'
]}
Do I have to create some file on my own or am I doing something wrong?
My goal is for the HTML to look like this:
I assume it's the same issue as adding a logo to the HTML which I also couldn't create.
These are the contents of the index.rst
file in my Sphinx project:
.. Sample documentation master file, created by
sphinx-quickstart on Thu Jul 5 09:19:15 2018.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to Sample's documentation!
====================================
.. toctree::
:maxdepth: 2
:caption: Contents:
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`