I am using Sphinx and ReStructuredText to create documentation, but even though all pages were created the same way, only 4 out of 8 are showing on the side menu. This is my table of contents:
.. toctree::
:glob:
:titlesonly:
*
I've tried to add the pages manually, but it didn't seem to work either. Here's the link to the documentation where you can find the source code: Docs
You should use either correct syntax of the
toctreedirective when using its options, or use file names whose casing aligns with what you put in thetoctreedirective.The
.rstfiles in your directory are the following.But in your
index.rstyou use the incorrect case for those filenames, and you add a blank line between the file names and glob character without using thegloboption.By looking at the build log on Read The Docs, you would find several warnings indicating what went wrong.
/home/docs/checkouts/readthedocs.org/user_builds/documentation-senografia/checkouts/latest/docs/source/index.rst:5: WARNING: toctree contains reference to nonexisting document 'Legenda'To fix it, this is one option.
And this should work, too. Note that in this version compared to yours, the options are immediately after the
toctreedirective without a blank line between them. A blank line should be present before the firsttoctreeentry.