[Feature Request] Add NaturalDocs comment style support and build system integration

未关闭
#1,495 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
c

调研方向

The issue names task.h and queue.h as the first headers to convert and asks for a make docs target, so start by reading those headers' existing comment blocks and the project Makefile. The comment style and the choice between NaturalDocs and Doxygen are not settled in the thread, so confirm the direction with maintainers before editing. Done would mean one header converted and a working docs target that builds from it.

由索引模型根据 Issue 内容生成。

描述

enhancement

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.

主要语言
C
星标
4.6k
派生
1.6k
平均合并
2 天 22 小时
30 天内合并 PR
4

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FreeRTOS/FreeRTOS-Kernel 的其他 Issue

查看 FreeRTOS/FreeRTOS-Kernel 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。