From 3cfcd847cf5f470ca1d91f0ea532e243a4514124 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Sun, 8 Jan 2023 11:12:43 +1100 Subject: [PATCH] Fix #2677. Docs now generate in a reasonable time and exclude generated IFC modules. --- src/ifcopenshell-python/docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ifcopenshell-python/docs/conf.py b/src/ifcopenshell-python/docs/conf.py index db8e69524a..6e0eeb3116 100644 --- a/src/ifcopenshell-python/docs/conf.py +++ b/src/ifcopenshell-python/docs/conf.py @@ -65,6 +65,9 @@ autoapi_type = 'python' # autoapi works by reading source code instead of importing modules autoapi_dirs = ['../ifcopenshell', '../../ifcdiff'] +# These are auto-generated based on the IFC schema, so exclude them +autoapi_ignore = ['*ifcopenshell/express/rules*'] + # autoapi_options doesn't have show-module-summary, as it tends to create one # page per function which contradicts the presentation of showing all functions # as a list. This creates two possible locations where a function is documented