summaryrefslogtreecommitdiffstats
path: root/testing/043
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/043
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/043')
-rw-r--r--testing/043/another.xml2
-rw-r--r--testing/043/mypage.xml4
2 files changed, 6 insertions, 0 deletions
diff --git a/testing/043/another.xml b/testing/043/another.xml
index f403e8f..2c2e61b 100644
--- a/testing/043/another.xml
+++ b/testing/043/another.xml
@@ -3,6 +3,8 @@
<compounddef id="another" kind="page">
<compoundname>another</compoundname>
<title>Another Page</title>
+ <briefdescription>
+ </briefdescription>
<detaileddescription>
<para>Another page's text. </para>
</detaileddescription>
diff --git a/testing/043/mypage.xml b/testing/043/mypage.xml
index efb09c7..589df5b 100644
--- a/testing/043/mypage.xml
+++ b/testing/043/mypage.xml
@@ -4,7 +4,11 @@
<compoundname>mypage</compoundname>
<title>Page Title</title>
<innerpage refid="another">Another Page</innerpage>
+ <briefdescription>
+ <para>Page brief description. </para>
+ </briefdescription>
<detaileddescription>
+ <para>Page brief description.</para>
<para>Text at page level. See <ref refid="mypage_1mysect" kindref="member">Section Title.</ref> for more. </para>
<sect1 id="mypage_1mysect">
<title>Section Title.</title>