diff --git a/docs/index.rst b/docs/index.rst
index 7855d458ddcb67cb749fa0f67f8093d415025ec7..c303d4c7607eef6257cc52291798d37985268ab8 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -46,4 +46,12 @@ Reference Documentation
    :maxdepth: 2
 
    cli
-   /apidoc/swh.vault
+
+.. only:: standalone_package_doc
+
+   Indices and tables
+   ------------------
+
+   * :ref:`genindex`
+   * :ref:`modindex`
+   * :ref:`search`