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

オープン
#1,495 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1週間以上
初心者へのやさしさ
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時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FreeRTOS/FreeRTOS-Kernel のほかの issue

FreeRTOS/FreeRTOS-Kernel の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。