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, 2:26 PM
anlambertPushed on Dec 19 2022, 2:57 PM
Parents
rDLDMD3246b8d6b955: pre-commit, tox: Bump pre-commit, codespell, black and flake8
Branches
Unknown
Tags
Unknown
References
HEAD -> master
Build Status
Buildable 33288
Build 52179: test-and-buildJenkins console · Jenkins