From 0ed2b98d3260b1a7b84e1a0a96e69ee654fc21bc Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Mon, 15 Jul 2024 17:00:19 -0500 Subject: [PATCH] exclude circuitpython-stubs when building docs Since 798e38e4470cbbc9316f40a9b161a37d9c8c52d4 an empty `board/__init__.py` is created inside the stubs directory and sphinx uses this in lieu of the autodoc generated file from shared-bindings. We don't intend to build docs from files in these paths, so just prune them. --- conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conf.py b/conf.py index 90b32db6fdc6..7a6701595044 100644 --- a/conf.py +++ b/conf.py @@ -180,6 +180,7 @@ def autoapi_prepare_jinja_env(jinja_env): ".venv", ".direnv", ".devcontainer/Readme.md", + "circuitpython-stubs", "data", "docs/autoapi", "docs/README.md",