We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 970460e commit 6061debCopy full SHA for 6061deb
doc/_scripts/gen_boards_catalog.py
@@ -361,10 +361,15 @@ def get_catalog(generate_hw_features=False):
361
except Exception as e:
362
logger.error(f"Error parsing twister file {twister_file}: {e}")
363
364
+ if doc_page and doc_page.is_relative_to(ZEPHYR_BASE):
365
+ doc_page_path = doc_page.relative_to(ZEPHYR_BASE).as_posix()
366
+ else:
367
+ doc_page_path = None
368
+
369
board_catalog[board.name] = {
370
"name": board.name,
371
"full_name": full_name,
- "doc_page": doc_page.relative_to(ZEPHYR_BASE).as_posix() if doc_page else None,
372
+ "doc_page": doc_page_path,
373
"vendor": vendor,
374
"archs": list(archs),
375
"socs": list(socs),
0 commit comments