File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" standalone =" no" ?>
2+ <doxygen xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" compound.xsd" version =" " xml : lang =" en-US" >
3+ <compounddef id =" another_page" kind =" page" >
4+ <compoundname >another_page</compoundname >
5+ <title >Example with stipped comments</title >
6+ <briefdescription >
7+ </briefdescription >
8+ <detaileddescription >
9+ <para>Here is the same example with stipped comments <programlisting filename="example_test.cpp"><codeline lineno="1"><highlight class="normal"/></codeline><codeline lineno="2"><highlight class="normal"/><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>main()</highlight></codeline><codeline lineno="3"><highlight class="normal">{</highlight></codeline><codeline lineno="4"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>a<sp/>=<sp/></highlight><highlight class="stringliteral">"Some<sp/>special<sp/>character<sp/>here:<sp/><sp value="7"/><sp/>"</highlight><highlight class="normal">;</highlight></codeline><codeline lineno="5"><highlight class="normal"/></codeline><codeline lineno="6"><highlight class="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline><codeline lineno="7"><highlight class="normal"><sp/><sp/>t.example();</highlight></codeline><codeline lineno="8"><highlight class="normal">}</highlight></codeline><codeline lineno="9"><highlight class="normal"/></codeline></programlisting> End. </para>
10+ </detaileddescription >
11+ <location file =" 032_include.cpp" />
12+ </compounddef >
13+ </doxygen >
Original file line number Diff line number Diff line change 66 <briefdescription >
77 </briefdescription >
88 <detaileddescription >
9- <para>Some text. <programlisting filename="example_test.cpp"><codeline><highlight class="comment">/**<sp/>The<sp/>main<sp/>function<sp/>*/</highlight><highlight class="normal"/></codeline><codeline><highlight class="normal"/><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>main()</highlight></codeline><codeline><highlight class="normal">{</highlight></codeline><codeline><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>a<sp/>=<sp/></highlight><highlight class="stringliteral">"Some<sp/>special<sp/>character<sp/>here:<sp/><sp value="7"/><sp/>"</highlight><highlight class="normal">;</highlight></codeline><codeline><highlight class="normal"/></codeline><codeline><highlight class="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline><codeline><highlight class="normal"><sp/><sp/>t.example();</highlight></codeline><codeline><highlight class="normal">}</highlight></codeline><codeline><highlight class="normal"/></codeline></programlisting> More text. <programlisting filename="example_test.cpp"><codeline lineno="1"><highlight class="comment">/**<sp/>The<sp/>main<sp/>function<sp/>*/</highlight><highlight class="normal"/></codeline><codeline lineno="2"><highlight class="normal"/><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>main()</highlight></codeline><codeline lineno="3"><highlight class="normal">{</highlight></codeline><codeline lineno="4"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>a<sp/>=<sp/></highlight><highlight class="stringliteral">"Some<sp/>special<sp/>character<sp/>here:<sp/><sp value="7"/><sp/>"</highlight><highlight class="normal">;</highlight></codeline><codeline lineno="5"><highlight class="normal"/></codeline><codeline lineno="6"><highlight class="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline><codeline lineno="7"><highlight class="normal"><sp/><sp/>t.example();</highlight></codeline><codeline lineno="8"><highlight class="normal">}</highlight></codeline><codeline lineno="9"><highlight class="normal"/></codeline></programlisting> Same example with stipped comments <programlisting filename="example_test.cpp"><codeline lineno="1"><highlight class="normal"/></codeline><codeline lineno="2"><highlight class="normal"/><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>main()</highlight></codeline><codeline lineno="3"><highlight class="normal">{</highlight></codeline><codeline lineno="4"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>a<sp/>=<sp/></highlight><highlight class="stringliteral">"Some<sp/>special<sp/>character<sp/>here:<sp/><sp value="7"/><sp/>"</highlight><highlight class="normal">;</highlight></codeline><codeline lineno="5"><highlight class="normal"/></codeline><codeline lineno="6"><highlight class="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline><codeline lineno="7"><highlight class="normal"><sp/><sp/>t.example();</highlight></codeline><codeline lineno="8"><highlight class="normal">}</highlight></codeline><codeline lineno="9"><highlight class="normal"/></codeline></programlisting> End. </para>
9+ <para>Some text. <programlisting filename="example_test.cpp"><codeline><highlight class="comment">/**<sp/>The<sp/>main<sp/>function<sp/>*/</highlight><highlight class="normal"/></codeline><codeline><highlight class="normal"/><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>main()</highlight></codeline><codeline><highlight class="normal">{</highlight></codeline><codeline><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>a<sp/>=<sp/></highlight><highlight class="stringliteral">"Some<sp/>special<sp/>character<sp/>here:<sp/><sp value="7"/><sp/>"</highlight><highlight class="normal">;</highlight></codeline><codeline><highlight class="normal"/></codeline><codeline><highlight class="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline><codeline><highlight class="normal"><sp/><sp/>t.example();</highlight></codeline><codeline><highlight class="normal">}</highlight></codeline><codeline><highlight class="normal"/></codeline></programlisting> More text. <programlisting filename="example_test.cpp"><codeline lineno="1"><highlight class="comment">/**<sp/>The<sp/>main<sp/>function<sp/>*/</highlight><highlight class="normal"/></codeline><codeline lineno="2"><highlight class="normal"/><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>main()</highlight></codeline><codeline lineno="3"><highlight class="normal">{</highlight></codeline><codeline lineno="4"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>a<sp/>=<sp/></highlight><highlight class="stringliteral">"Some<sp/>special<sp/>character<sp/>here:<sp/><sp value="7"/><sp/>"</highlight><highlight class="normal">;</highlight></codeline><codeline lineno="5"><highlight class="normal"/></codeline><codeline lineno="6"><highlight class="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline><codeline lineno="7"><highlight class="normal"><sp/><sp/>t.example();</highlight></codeline><codeline lineno="8"><highlight class="normal">}</highlight></codeline><codeline lineno="9"><highlight class="normal"/></codeline></programlisting> </para>
1010 </detaileddescription >
1111 <location file =" 032_include.cpp" />
1212 </compounddef >
Original file line number Diff line number Diff line change 11// objective: test the \include and \includelineno commands
22// check: indexpage.xml
3+ // check: another_page.xml
34// config: STRIP_CODE_COMMENTS=NO
45
56/* * \mainpage
67 * Some text.
78 * \include example_test.cpp
89 * More text.
910 * \include{lineno} example_test.cpp
10- * Same example with stipped comments
11+ */
12+
13+ /* * \page another_page Example with stipped comments
14+ * Here is the same example with stipped comments
1115 * \include{lineno,strip} example_test.cpp
1216 * End.
1317 */
You can’t perform that action at this time.
0 commit comments