いくつかの調査の後、これはバグのように見えると判断しましたが、それは直感に反しているからです。
次の点を考慮してください。
The Main Section {#the_main_section}
================
Subsection One {#first}
--------------
Something highly interesting...
ドキュメントはレベル 1 ヘッダー (ここで説明) で始まるため、Doxygen は「メイン セクション」をページの名前とタイトルとして解析します。{#the_main_section}
ヘッダーがページ名に変換されると、ヘッダーとラベルは無視されたように見えます。
その後、処理はドキュメントの残りの部分に進み、「サブセクション 1」に到達すると、「サブセクション」の親「セクション」は存在しないと見なされます (「セクション」はページ名に変換されたため)。詰まるところです。
より具体的には、親の「セクション」がないと信じているため、サブセクション (ヘッダー) を破棄します。他のすべてのテキストは残りますが、「ページ」の一部として扱われます (セクションの親はありません)。
「修正」は、最初の「レベル 1 ヘッダー」の後に別の「レベル 1 ヘッダー」を追加することです。
My Great Documentation (Which Becomes the Page Name)
====================================================
The First Section
=================
Q. What? I already created a level 1 heading?
A. Yup, but that was converted to a page name/title and discarded, so now
we have to create another level 1 heading for my first section. Don't
be fooled into thinking that the opening heading in this document is
still treated as an opening heading by Doxygen - it's not!