From a05584281e957bea7579785750d8c0cabdff5800 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Fri, 26 Jul 2024 10:14:17 -0500 Subject: [PATCH] Only use pyi files for autoapi doc generation Closes #9465 --- conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conf.py b/conf.py index 7a6701595044..7120fa3f00a3 100644 --- a/conf.py +++ b/conf.py @@ -110,6 +110,7 @@ autoapi_python_class_content = "both" autoapi_python_use_implicit_namespaces = True autoapi_root = "shared-bindings" +autoapi_file_patterns = ["*.pyi"] # Suppress cache warnings to prevent "unpickable" [sic] warning # about autoapi_prepare_jinja_env() from sphinx >= 7.3.0.