I want to create a digital version of my lecture notes. I installed sphinx and changed the config.py file such that the ReadTheDocs theme is working.
I want to have a similar structure like in the following screenshot (from the Read the Docs Documentation)
My index.rst looks like
.. Lectures documentation master file, created by
sphinx-quickstart on Tue Jan 9 20:20:10 2018.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
iLectures
======================================
Hello!
.. toctree::
:maxdepth: 2
:caption: Contents:
intro
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
How do I have to change the index.rst to have such a similar structure like in the screenshot? It would also be very nice if I could have an equivalent folder structure on my site as in the navigation? How can I refer to a file which is not in the same directory? I really appreciate any help.
tried indenting the new contents after the intro
but it only led to an error.