summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsommersoft <sommersoft@users.noreply.github.com>2020-08-26 21:45:47 -0500
committerGitHub <noreply@github.com>2020-08-26 21:45:47 -0500
commit58d5f99394b62a9c016c02b2b4a38f0e566e7596 (patch)
tree15506949ae7aacf7c378a4c1f708d195c06ee3b6
parent58a7419b4ffcc99a7ea290f878f65b7e09acf027 (diff)
parent200a296b5cf6851b72460d49fdb3be43980f2d9b (diff)
Merge pull request #3335 from jepler/fix-doc-build
conf.py (docs): Reorder the steps of the doc build
-rw-r--r--conf.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf.py b/conf.py
index 4a8b72584..256ca922c 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'