summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-08-29 07:37:00 -0500
committerJeff Epler <jepler@gmail.com>2020-08-29 07:37:00 -0500
commit28f0139e6e0f927c480925f1699bb8b150b055a7 (patch)
tree7f19eb21b4a84d7d9eb9fabff85d36f262768f2d /docs
parentd858d048c1078a216044358534f1e33ad60a3cb8 (diff)
shared_bindings_matrix revert to using shared-bindings
.. hard-coding ulab for now. It also fixes a problem where board_name was unassigned when use_branded_name was False, which only happened at release-building time. Trying to change this caused multiple problems in the release process.
Diffstat (limited to 'docs')
-rw-r--r--docs/shared_bindings_matrix.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/shared_bindings_matrix.py b/docs/shared_bindings_matrix.py
index e81ae188c..f38c0b64a 100644
--- a/docs/shared_bindings_matrix.py
+++ b/docs/shared_bindings_matrix.py
@@ -43,8 +43,8 @@ def get_circuitpython_root_dir():
def get_shared_bindings():
""" Get a list of modules in shared-bindings based on folder names
"""
- shared_bindings_dir = get_circuitpython_root_dir() / "circuitpython-stubs"
- return [item.name for item in shared_bindings_dir.iterdir()]
+ shared_bindings_dir = get_circuitpython_root_dir() / "shared-bindings"
+ return [item.name for item in shared_bindings_dir.iterdir()] + ["ulab"]
def read_mpconfig():
@@ -159,6 +159,8 @@ def support_matrix_by_board(use_branded_name=True):
board_contents)
if board_name_re:
board_name = board_name_re.group(1).strip('"')
+ else:
+ board_name = entry.name
board_modules = []
for module in base: