diff --git a/docs/index.rst b/docs/index.rst index 3a7c929..21e9120 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,17 +1,19 @@ Software Heritage - Python module template ========================================== Python module template, used as skeleton to create new modules. .. toctree:: :maxdepth: 2 :caption: Contents: -Indices and tables -================== +.. only:: standalone_package_doc -* :ref:`genindex` -* :ref:`modindex` -* :ref:`search` + Indices and tables + ------------------ + + * :ref:`genindex` + * :ref:`modindex` + * :ref:`search`