HomeSoftware Heritage

docs: Include module indices only when building standalone package doc

Description

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

Details

Provenance
anlambertAuthored on Dec 19 2022, 3:13 PM
anlambertPushed on Dec 19 2022, 3:13 PM
Parents
rDSEA2912b17c611b: pre-commit, tox: Bump pre-commit, codespell, black and flake8
Branches
Unknown
Tags
Unknown
References
HEAD -> master
Build Status
Buildable 33298
Build 52190: test-and-buildJenkins console · Jenkins