これは私のここでの最初の質問です。doxygen codeタグは同じページのhtmlタグを壊します
私のC++コードを文書化するためにdoxygenを使用すると、私は奇妙な問題が発生します。ページに\ codeタグがあるとすぐに、すべてのHTMLタグが出力で処理されません。
最初の例は、私がhtmlタグから期待したものを示しています。 2番目の例では、doxygen \ codeタグを追加するだけで、完全な出力が破損しています。
例1:
//! \page testpage Test Page
//!
//! <ul>
//! <li>\ref test_section1</li>
//! <li>\ref test_section2</li>
//! </ul>
//!
//! \section test_section1 Test Section 1
//!
//! Any text.
//!
//! \section test_section2 Test Section 2
//!
//! Any text.
//! <br><br>
doxygen result of the first example
例2:私はLinux上でdoxygenの1.8.5を使用していますところで
//! \page testpage Test Page
//!
//! <ul>
//! <li>\ref test_section1</li>
//! <li>\ref test_section2</li>
//! </ul>
//!
//! \section test_section1 Test Section 1
//!
//! Any text.
//!
//! \code
//! if (x==1) return;
//! \endcode
//!
//! \section test_section2 Test Section 2
//!
//! Any text.
//! <br><br>
doxygen result of the second example
。
現在のバージョン(1.8.12)ではどうなりますか? – albert
外部ソース/画像への参照は、時間の経過と共に消える可能性があるため、使用しないでください。画像を質問の中に置きます。 – albert