You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Add NaturalDocs comment style support and build system integration #1495
Is your feature request related to a problem? Please describe.
Currently, FreeRTOS-Kernel source files use a custom or informal comment style that is not compatible with NaturalDocs, a documentation generator. This makes it difficult to automatically generate structured, navigable API documentation from the source. Developers who rely on NaturalDocs in their own projects cannot easily integrate FreeRTOS documentation into their pipelines.
Describe the solution you'd like
Adopt NaturalDocs-compatible comment style (/** ... */) across the FreeRTOS-Kernel source and header files, and add Makefile/build system support so that NaturalDocs can be invoked as part of the documentation build process. Ideally this would include:
A NaturalDocs project configuration file
A Makefile target (e.g. make docs) that generates documentation
Updated comment blocks on public API functions, macros, and types
Describe alternatives you've considered
Doxygen is a widely used alternative, and some of the existing comments partially follow Doxygen-style. However, NaturalDocs is preferred here for its human-readable source format and cleaner output. A Doxygen-based solution could also work if the maintainers prefer it over NaturalDocs. Moreover, NaturalDocs utility allows to make documentation out of comment in organized manner
How many devices will this feature impact?
Anyone who want to use this comments as source for documentation will be impacted
What are your project timelines?
No hard deadline on our end. This is a quality-of-life improvement; we can work incrementally (e.g. starting with key headers like task.h, queue.h) rather than requiring a big-bang migration.
If you have the same (or similar) feature request, please upvote this issue with thumbs up 👍
and use the comments section to provide answers to the questions above.
Activity