diff --git a/docs/index.rst b/docs/index.rst
index 0c409efb26e4b132da69f0452224f8dd00c4633d..7cdcaef468ebb35bf05735f7a804bd95407b0933 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -15,7 +15,7 @@
    export
    generate_subdataset
 
-.. only:: package_doc
+.. only:: standalone_package_doc
 
    Indices and tables
    ------------------