Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これが可能かどうかはわかりません。しかし、複数の .rst ファイルをディレクトリに配置し、コンパイル中に配置したいと考えています。これらのファイルを自動的にtoctree. これについてどうすればよいですか?
toctree
globワイルドカードを有効にするオプションを使用できます。このような:
glob
.. toctree:: :glob: *
これにより、同じディレクトリ内の他のすべての *.rst ファイルが toctree に追加されます。
参照: 「toctree ディレクティブで「グロビング」を使用する」