I am trying to write documentation and want and have multiply files used by multiple toc trees. Previously I used an empty file with .. include:: <isonum.txt>
however, this does not work for multiply files in a directory with sub directories. Another solution I have used was to use a relative file path to the index file I am linking to. However this messes up the sphinx nav tree. So my question is how to include a directory of files with RST and Sphinx?
7
votes
2 Answers
2
votes
include.rst
) that contains one.. include::
directive per file. Then, you only need to include this only file in your source file. – Martí