I'm using a readthedocs.org instance on my localhost to build HTML documentation from my github repo and I would like to be able to do the following.
Currently I have a list of files being read by using toctree's glob feature like this:
.. toctree::
:maxdepth: 2
:glob:
*
But I need to avoid certain files to be listed in my toc, eg:
Test_Manuals.rst
Test_Process.rst
Test_Users.rst
Testing.rst <--- Only this file should appear in the toctree, all others are listed inside this one
Testing_on_test_dot_spy.rst
I have tried adding a :hidden:
below the :glob:
section but it just hides everything.
I have looked into as much documentation I could find but nowhere I have found an example when these two options are used together.
Any idea how to achieve this?