Open JordanYates opened 1 month ago
CC @carlescufi @fabiobaltieri @stephanosio
@JordanYates what doxygen version are you using?
This actually looks like a bug in the capture.h
header file, where some of the INTERNAL_HIDDEN sections might be improperly used (these two @cond INTERNAL_HIDDEN
being open consecutively are definitely suspicious, or at least redundant).
See rendered doc at https://docs.zephyrproject.org/latest/doxygen/html/capture_8h.html where many of the API that I think are meant to be public effectively end up not showing up (and hence not generating a warning when building in CI, probably)
https://docs.zephyrproject.org/api-coverage/latest/zephyr/net/capture.h.gcov.html also highlights (or rather, doesn't!) which APIs are "covered" by doxygen
@rlubos @jukkar
@JordanYates what doxygen version are you using?
(.zephyr_venv) jordan@TAURUS:~/code/workspace$ doxygen --version
1.9.1
More examples of PRs that introduce warnings:
The documentation build workflow in CI is not detecting problems with doxygen comments.
This is a regression introduced with https://github.com/zephyrproject-rtos/zephyr/commit/2c89bf57983782593dedc0f34f105fcde735677f#diff-1048a3f83dfee0a99ce3c07fede976bbd6a6b65f8bdae55ada11e6a1dda452c7L88
Independently from this, the doxygen docs for capture.h
seems bogus as it has nested INTERNAL_HIDDEN sections ?
Is your enhancement proposal related to a problem? Please describe.
The documentation build workflow in CI is not detecting problems with doxygen comments. As an example, the
cooked
parameter name in the comment does not match thectx
name in the prototype, but passes CI (#70926). https://github.com/zephyrproject-rtos/zephyr/blob/be682e22e166c33a67c1db0755f8ca20c37b6576/include/zephyr/net/capture.h#L274-L285As is, this generates doxygen warnings when building the docs normally: