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:09 PM
anlambertPushed on Dec 19 2022, 3:10 PM
Parents
rDTSCN0f4f9d4f8eb8: cli: Fix import ordering reported by isort
Branches
Unknown
Tags
Unknown
References
HEAD -> master
Build Status
Buildable 33295
Build 52187: test-and-buildJenkins console · Jenkins