How to add a new folder to ReadTheDocs
Find the nearest
index.rstin the parents of the folder.Add the following code block at the intended TOC location:
.. toctree::
:glob:
:titlesonly:
:caption: $CAPTION
./$FOLDER/*
where $CAPTION is effectively the folder name in normal English and $FOLDER is the new folder to add.
If the folder is of the form
$a/$b/.../$cand it should be added to$a/index.rst, the last line should be./$b/**instead. This change includes all subdirectories as well and is hence more useful in this case.