I have a index.rst with this sintaxis:
Example
======================================================
.. toctree::
:maxdepth: 0
:caption: Contents:
item
Items and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
By other hand, I have a item.rst file with this:
Another page
======================================================
.. toctree::
:maxdepth: 0
:caption: Contents:
item2
What's the problem? I have an index with this:
But I do not want this. All content of item.rst (Another page) It should be displayed when I push in Another page not in the index.
I just want display in index the link of the rest of pages like this:
Contents:
- Another page
- Another second page
- Another third page.