diff --git a/src/ifcopenshell-python/docs/_autoapi_templates/index.rst b/src/ifcopenshell-python/docs/_autoapi_templates/index.rst index 8a3234fefc..f6cad630ca 100644 --- a/src/ifcopenshell-python/docs/_autoapi_templates/index.rst +++ b/src/ifcopenshell-python/docs/_autoapi_templates/index.rst @@ -7,10 +7,8 @@ This page contains auto-generated API reference documentation [#f1]_. :titlesonly: :maxdepth: 1 - {% for page in pages %} - {% if page.top_level_object and page.display %} + {% for page in pages|selectattr("is_top_level_object") %} {{ page.include_path }} - {% endif %} {% endfor %} .. [#f1] Created with `sphinx-autoapi `_