Skip to content

Conversation

rdmark
Copy link
Member

@rdmark rdmark commented Oct 15, 2025

Touch up all code documentation syntax warnings thrown by doxygen, while correcting typos and grammar

Remove parameters and entire functions that are unused, rather than fixing the code documentation for dead code

Now since the code documentation is clean and compliant, let's treat warnings as errors in doxygen

Introducing new meson option -Dwith-doxygen-strict=true which enables error-on-warning behavior in doxygen; the reason for making this opt-in, is because doxygen will treat any unknown Doxyfile option as a warning=>error, so if you use anything but the very latest doxygen 1.14 you get a ton of errors (because doxygen apparently keeps adding new options all the time)

Finally, build doxygen docs in a new job in the Tests workflow so that we can get an early warning when invalid code documentation gets introduced

@rdmark rdmark linked an issue Oct 15, 2025 that may be closed by this pull request
@rdmark rdmark changed the title improve code documentation and remove dead code, GitHub #2472 improve code documentation and remove dead code Oct 15, 2025
@rdmark rdmark force-pushed the 2472-code-documentation-that-isnt-doxygen-compliant branch 2 times, most recently from 5ad6c5f to 09ae762 Compare October 15, 2025 21:01
Touch up all code documentation structure warnings thrown by
doxygen, while correcting typos and grammar

Remove parameters and entire functions that are unused,
rather than fixing the code documentation
Now since the code documentation is clean and compliant,
let's treat warnings as errors in doxygen

However, do this only when enabling -Dwith-doxygen-strict=true
@rdmark rdmark force-pushed the 2472-code-documentation-that-isnt-doxygen-compliant branch 2 times, most recently from f6a4d88 to b0d4c22 Compare October 15, 2025 21:36
@rdmark rdmark force-pushed the 2472-code-documentation-that-isnt-doxygen-compliant branch from b0d4c22 to 7a60a97 Compare October 15, 2025 21:42
Copy link

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.

code documentation that isn't doxygen compliant

1 participant