Skip to content
Snippets Groups Projects
Commit 92781a65 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

docs: Include module indices only when building standalone package doc

In order to remove warnings about /apidoc/*.rst files being included
multiple times in toc when building full swh documentation, prefer to
include module indices only when building standalone package documentation.

Also include them the proper sphinx way.

Related to T4496
parent d03a8ebb
No related branches found
No related tags found
No related merge requests found
......@@ -11,4 +11,12 @@
configuration
Design notes <design>
Tutorial <tutorial>
API reference </apidoc/swh.fuse>
.. only:: package_doc
Indices and tables
------------------
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment