Skip to content

Commit 4a15930

Browse files
carlescufiMaureenHelm
authored andcommitted
doc: domain: Disable warnings when board catalog not present
With the introduction of the board-catalog role in cd6b1f5, using the Zephyr doc infrastructure without a board catalog instantiated leads to a warning. Avoid this by disabling the warnings for this role. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
1 parent 59faf4a commit 4a15930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎doc/_extensions/zephyr/domain/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ class ZephyrDomain(Domain):
11551155
"code-sample": XRefRole(innernodeclass=nodes.inline, warn_dangling=True),
11561156
"code-sample-category": XRefRole(innernodeclass=nodes.inline, warn_dangling=True),
11571157
"board": XRefRole(innernodeclass=nodes.inline, warn_dangling=True),
1158-
"board-catalog": XRefRole(innernodeclass=nodes.inline, warn_dangling=True),
1158+
"board-catalog": XRefRole(innernodeclass=nodes.inline, warn_dangling=False),
11591159
}
11601160

11611161
directives = {

0 commit comments

Comments
 (0)