Skip to content

drv/tdma_client: fix doc build by suppressing frame.h doxygen auto-link#24

Merged
geonnave merged 1 commit into
DotBots:developfrom
geonnave:doc-fix-frame-xref
Jun 4, 2026
Merged

drv/tdma_client: fix doc build by suppressing frame.h doxygen auto-link#24
geonnave merged 1 commit into
DotBots:developfrom
geonnave:doc-fix-frame-xref

Conversation

@geonnave

@geonnave geonnave commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

The doc CI job on develop (and therefore on the open develop→main PR #23) fails on a single fatal Sphinx warning:

doc/sphinx/_api/drv_tdma_client.rst:4: WARNING: undefined label: 'frame_8h'

The deprecated drv/tdma_client.h group comment name-drops `drv/frame.h` (the header added alongside the TDMA deprecation). Doxygen auto-links that filename to the file label frame_8h even inside a code span; breathe can't resolve it, and the build's -W (warnings-as-errors) flag makes it fatal.

Fix: prefix the filename with % (`drv/%frame.h`), Doxygen's auto-link suppression. Rendered text is unchanged and matches the sibling code spans in the same comment.

Verification

Reproduced the warning locally against the pinned doc/sphinx/requirements.txt, applied the fix, rebuilt: build succeeded. with the frame_8h warning gone. Diff is one character.

Test plan

The `%` prefix tells Doxygen not to auto-link `frame.h` to its file
page. Without it the generated cross-reference targets an unresolved
`frame_8h` label and the `-W` Sphinx doc build fails. It looks like a
typo but is load-bearing - keep it.

AI-assisted: Claude Opus 4.8
@geonnave geonnave merged commit 0e588cc into DotBots:develop Jun 4, 2026
16 checks passed
@geonnave geonnave deleted the doc-fix-frame-xref branch June 4, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant