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
-
Some references in the commit message have been migrated:
- T4496 is now swh-docs#4496 (closed)
-
mentioned in merge request !28 (closed)
Please register or sign in to comment