diff --git a/docs/index.rst b/docs/index.rst
index 8ad09ac003e8efc69d4682cb57a1e531cffcd3c9..23ef1e453ce71f491b6683663d7c1bc399b8e52b 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -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`