summaryrefslogtreecommitdiffstats
path: root/testing/025
diff options
context:
space:
mode:
authorVladimír Vondruš <mosra@centrum.cz>2017-11-25 18:27:15 (GMT)
committerVladimír Vondruš <mosra@centrum.cz>2017-11-25 18:27:15 (GMT)
commitbd2cf98e75c600e0c2f5ae95301df8745d65571a (patch)
treee501645f24a98b742cf52d71ce16d8609443bcb1 /testing/025
parent4f45bd20d4da7d40c793ec4c4c13558581e995ac (diff)
downloadDoxygen-bd2cf98e75c600e0c2f5ae95301df8745d65571a.zip
Doxygen-bd2cf98e75c600e0c2f5ae95301df8745d65571a.tar.gz
Doxygen-bd2cf98e75c600e0c2f5ae95301df8745d65571a.tar.bz2
Provide page brief in <briefdescription> of XML output.
Until now the brief description of pages was prepended to the <detaileddescription> element and the <briefdescription> element was not present at all, which meant there was no easy way to extract the brief description for purposes of creating a page index, for example. With this patch, the brief description is included in both <briefdescription> and <detaileddescription>, thus duplicated, to avoid backwards compatibility issues.
Diffstat (limited to 'testing/025')
-rw-r--r--testing/025/example_test_8cpp-example.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/025/example_test_8cpp-example.xml b/testing/025/example_test_8cpp-example.xml
index 96a1cd7..9f5ae7c 100644
--- a/testing/025/example_test_8cpp-example.xml
+++ b/testing/025/example_test_8cpp-example.xml
@@ -2,6 +2,8 @@
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
<compounddef id="example_test_8cpp-example" kind="example">
<compoundname>example_test.cpp</compoundname>
+ <briefdescription>
+ </briefdescription>
<detaileddescription>
<para>This is an example of how to use the <ref refid="class_test" kindref="compound">Test</ref> class.</para>
<para>More details about this example. <programlisting filename="example_test.cpp"><codeline><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>main()</highlight></codeline><codeline><highlight class="normal">{</highlight></codeline><codeline><highlight class="normal"><sp/><sp/><ref refid="class_test" kindref="compound">Test</ref><sp/>t;</highlight></codeline><codeline><highlight class="normal"><sp/><sp/>t.<ref refid="class_test_1a47b775f65718978f1ffcd96376f8ecfa" kindref="member">example</ref>();</highlight></codeline><codeline><highlight class="normal">}</highlight></codeline><codeline><highlight class="normal"/></codeline></programlisting> </para>