summaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2021-01-10 13:52:47 -0500
committerDan Halbert <halbert@halwitz.org>2021-01-10 13:52:47 -0500
commitce59b543615c502b60fb1c81735ef0a244975678 (patch)
tree6dcb40faa1d20cd23d2118d674af5fb05e4a1b20 /conf.py
parente1a843878e4272334869b1db4a8222ae344f5cb8 (diff)
parent55c80754c76a115e2f128931a408e6702aee6ef4 (diff)
Merge remote-tracking branch 'adafruit/main' into robots.txt
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/conf.py b/conf.py
index f7d028c19..590e5bc2c 100644
--- a/conf.py
+++ b/conf.py
@@ -42,6 +42,9 @@ master_doc = 'docs/index'
# Grab the JSON values to use while building the module support matrix
# in 'shared-bindings/index.rst'
+# The stubs must be built before we calculate the shared bindings matrix
+subprocess.check_output(["make", "stubs"])
+
#modules_support_matrix = shared_bindings_matrix.support_matrix_excluded_boards()
modules_support_matrix = shared_bindings_matrix.support_matrix_by_board()
@@ -77,7 +80,6 @@ source_suffix = {
'.md': 'markdown',
}
-subprocess.check_output(["make", "stubs"])
extensions.append('autoapi.extension')
autoapi_type = 'python'
@@ -144,6 +146,7 @@ version = release = final_version
# directories to ignore when looking for source files.
exclude_patterns = ["**/build*",
".git",
+ ".env",
".venv",
".direnv",
"docs/autoapi",
@@ -169,6 +172,7 @@ exclude_patterns = ["**/build*",
"ports/atmel-samd/tools",
"ports/cxd56/mkspk",
"ports/cxd56/spresense-exported-sdk",
+ "ports/esp32s2/certificates",
"ports/esp32s2/esp-idf",
"ports/esp32s2/peripherals",
"ports/litex/hw",