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, 1:51 PM
anlambertPushed on Dec 19 2022, 1:51 PM
Parents
rDLDG5018c6ad5be6: Fix crash on non-UTF8 branch names
Branches
Unknown
Tags
Unknown
References
HEAD -> master
Build Status
Buildable 33284
Build 52175: test-and-buildJenkins console · Jenkins