diff --git a/docs/index.rst b/docs/index.rst
index a7d4dd3945754e7370244a73e10bcb916272ecae..92234419a4694cf81ac82c4656c05cc901b48502 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -12,7 +12,7 @@ Reference Documentation
    django
 
 
-.. only:: package_doc
+.. only:: standalone_package_doc
 
    Indices and tables
    ------------------