Skip to content
Snippets Groups Projects
Commit eaeba9a0 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

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
parent f883e224
No related branches found
No related tags found
No related merge requests found
......@@ -12,4 +12,12 @@ Implementation of the :ref:`data-model` to archive source code artifacts.
data-model
persistent-identifiers
cli
/apidoc/swh.model
.. only:: standalone_package_doc
Indices and tables
------------------
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment