summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorsommersoft <sommersoft@gmail.com>2020-06-29 01:09:04 -0500
committersommersoft <sommersoft@gmail.com>2020-06-29 01:09:04 -0500
commitd911dc98d9a9acd76a337232933ee0776370a66c (patch)
treeaab1489242d7b4a20387efb91599a39d9ca4ea89 /docs
parent928433f2e3d16ac04032f495fa4a83fd4a296ca3 (diff)
docs/shared_binding_matrix.py: fix usage with the branded name (building docs)
Diffstat (limited to 'docs')
-rw-r--r--docs/shared_bindings_matrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/shared_bindings_matrix.py b/docs/shared_bindings_matrix.py
index c0d07d4b4..12a7b7eb8 100644
--- a/docs/shared_bindings_matrix.py
+++ b/docs/shared_bindings_matrix.py
@@ -162,7 +162,7 @@ def support_matrix_by_board(use_branded_name=True):
settings = get_settings_from_makefile(str(port_dir), entry.name)
if use_branded_name:
- with open(os.path.join(entry.path, "mpconfigboard.h")) as get_name:
+ with open(entry / "mpconfigboard.h") as get_name:
board_contents = get_name.read()
board_name_re = re.search(r"(?<=MICROPY_HW_BOARD_NAME)\s+(.+)",
board_contents)