src & modules: fix doxygen warnings
Fix the warnings reported by doxygen related to modules/
and src/
, so that WARN_AS_ERROR
can be enabled in the CI.
It does not really try to improve the documentation more than where it's required for the warnings to disappear.