From 8923d02f68a85ca318c66e6393ee64b166802cbf Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Mon, 15 Jul 2024 09:20:56 +1000 Subject: [PATCH] Update to latest Sphinx AutoAPI --- src/ifcopenshell-python/docs/_autoapi_templates/index.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 `_