celix icon indicating copy to clipboard operation
celix copied to clipboard

Incorrect usage of @section in Doxygen documentation?

Open PengZheng opened this issue 2 years ago • 0 comments

There is the following warning in section command's documentation:

This command only works inside related page documentation and not in other documentation blocks!

In our coding convention, it is recommended to be used for error codes documentation:

  • If a function can return multiple error codes, use a errors section (@section errors_section Errors) to document the possible errors. Use man 2 write as an example for a good errors section.

I found one usage of @section in celix_threads.h, and checked our online documentation. Unfortunately, utils library is not included in the documentation. I'm not sure whether the current usage is correct and can produce the intended documentation.

PS: Currently I am working on Celix documentation translation so that it can be used for some internal training program in my day job. I'll go back to this issue after the translation is complete.

PengZheng avatar Oct 30 '23 11:10 PengZheng