Skip to content
Snippets Groups Projects
Commit 2347dd72 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.

Related to T4496
parent 17cf8b66
No related branches found
No related tags found
No related merge requests found
......@@ -7,9 +7,11 @@
:caption: Contents:
Indices and tables
------------------
.. only:: standalone_package_doc
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
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