ここにDoxygen noobがあります。私は検索し、何時間もこれを解決するように努力しました。その答えは、私が見慣れていないほど明白ではないようです。doxygen @parコマンドが壊れていて、紛失したhtml出力<b>またはエラー</b>タグ
EDIT:doxygenの@parコマンドは、いずれかの方法で<dt>
内<b>
を挿入するために失敗、または</dt>
内の誤った</b>
を挿入することにより、(GUIウィザードを経由してdoxy 1.8.0を実行している)HTML出力ページを破り、同様のコマンドしばらく(例えば、@return
と@note
のように)そうではありません。例のコメント(これは重要な場合はコメントが...、機能上です):
/**
Register a new exit to the room object. Adds the exit to our exit_hash map with some safety checks for whether we've been passed an array of exits or just one.
New practice; there's now an exit hash map ([direction:hash])
and we add exits into our hash map as they're created. This is how guards
are now identified: they're assigned the hashes they guard as IDs.
@code
OH JESUS GOD PLEASE WORK
@endcode
@return hrm
\note
This note consists of two paragraphs.
This is the first paragraph.
\par User defined paragraph:
Contents of the paragraph.
\par
New paragraph under the same heading.
\par
And this is the second paragraph.
More normal text.
*/
私は、コマンドの使用方法のdoxygenのデモからそれを持ち上げたてきたようにあなたは、コメントの一部を認識することができます。これは、 "This is the first paragraph。"で終了するHTML出力を生成します。 \ノート指揮下に(この前にすべてのセクションが適切にレンダリング)、およびdoxygenをページの上部にエラー引用:
This page contains the following errors: error on line 422 at column 42: Opening and ending tag mismatch: dt line 0 and b Below is a rendering of the page up to the first error.
XMLのレンダリングを(あるいは少なくとも、私には見える)適切かつ次のとおりです。
<detaileddescription>
<para>Adds the exit to our exit_hash map with some safety checks for whether we've been passed an array of exits or just one.</para>
<para>New practice; there's now an exit hash map ([direction:hash]) and we add exits into our hash map as they're created. This is how guards are now identified: they're assigned the hashes they guard as IDs.</para>
<para><programlisting><codeline><highlight class="normal">OH<sp/>JESUS<sp/>GOD<sp/>PLEASE<sp/>WORK</highlight></codeline></programlisting></para>
<para>
<simplesect kind="return"><para>hrm</para></simplesect>
<simplesect kind="note"><para>This note consists of two paragraphs. This is the first paragraph.</para></simplesect>
<simplesect kind="par"><title>User defined paragraph:</title><para>Contents of the paragraph.</para></simplesect>
<simplesect kind="par"><title></title><para>New paragraph under the same heading.</para></simplesect>
<simplesect kind="par"><title></title><para>And this is the second paragraph.</para></simplesect>
More normal text.
</para>
</detaileddescription>
エラーサイトでHTML出力:私はよく分からないが、あなたの問題の一部は、あなたの\note
内の段落の1の段落のタイトルを使用していることかもしれ
<p>Register a new exit to the room object. </p>
<p>Adds the exit to our exit_hash map with some safety checks for whether we've been passed an array of exits or just one.</p>
<p>New practice; there's now an exit hash map ([direction:hash]) and we add exits into our hash map as they're created. This is how guards are now identified: they're assigned the hashes they guard as IDs.</p>
<div class="fragment"><pre class="fragment">OH JESUS GOD PLEASE WORK
</pre></div><dl class="section return"><dt>Returns:</dt><dd>hrm</dd></dl>
<dl class="section note"><dt>Note:</dt><dd>This note consists of two paragraphs. This is the first paragraph.</dd></dl>
<dl class="section user"><dt></b></dt><dd>And this is the second paragraph.</dd></dl>
<dl class="section user"><dt>User defined paragraph:</b></dt><dd>Contents of the paragraph.</dd></dl>
<dl class="section user"><dt></b></dt><dd>New paragraph under the same heading.</dd></dl>
<dl class="section user"><dt></b></dt><dd>And this is the second paragraph.</dd></dl>
<p>More normal text. </p>
ありがとう、クリス - 私は元の質問をHTML出力で更新しました。私は夢中になっていたし、エラーポイントで単に停止したChromeの要素インスペクタを使用しました。今度は ''が存在しない(そして@ return/@ noteコマンドの書式が与えられていて、まったく間違っていると思われる)''タグが含まれていることがわかりました。何が起こっていますか。 私は、コメントをjava_autodocの簡潔な/詳細な説明と '@ par'文書の例の正確なテキストだけに置き換えましたが、エラーは一貫して表示されます。 – abathur