summaryrefslogtreecommitdiffstats
path: root/testing/021/indexpage.xml
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/021/indexpage.xml
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/021/indexpage.xml')
-rw-r--r--testing/021/indexpage.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/021/indexpage.xml b/testing/021/indexpage.xml
index 9205dd6..7c93a78 100644
--- a/testing/021/indexpage.xml
+++ b/testing/021/indexpage.xml
@@ -3,6 +3,8 @@
<compounddef id="indexpage" kind="page">
<compoundname>index</compoundname>
<title>My Project</title>
+ <briefdescription>
+ </briefdescription>
<detaileddescription>
<para> Our main function starts like this: <programlisting filename="example_test.cpp"><codeline><highlight class="normal">void<sp/>main()</highlight></codeline><codeline><highlight class="normal">{</highlight></codeline></programlisting> First we create a object <computeroutput>t</computeroutput> of the <ref refid="class_test" kindref="compound">Test</ref> class. <programlisting filename="example_test.cpp"><codeline><highlight class="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline></programlisting> Then we call the example member function <programlisting filename="example_test.cpp"><codeline><highlight class="normal"><sp/><sp/>t.example();</highlight></codeline></programlisting> After that our little test routine ends. <programlisting filename="example_test.cpp"><codeline><highlight class="normal">}</highlight></codeline></programlisting> </para>
</detaileddescription>