Skip to content
Snippets Groups Projects
Commit 22854ced 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 5c26c47a
No related branches found
No related tags found
No related merge requests found
......@@ -12,4 +12,11 @@ Reference Documentation
.. toctree::
:maxdepth: 2
/apidoc/swh.loader.svn
.. 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