diff options
author | Vladimír Vondruš <mosra@centrum.cz> | 2017-11-25 18:27:15 (GMT) |
---|---|---|
committer | Vladimír Vondruš <mosra@centrum.cz> | 2017-11-25 18:27:15 (GMT) |
commit | bd2cf98e75c600e0c2f5ae95301df8745d65571a (patch) | |
tree | e501645f24a98b742cf52d71ce16d8609443bcb1 /src | |
parent | 4f45bd20d4da7d40c793ec4c4c13558581e995ac (diff) | |
download | Doxygen-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 'src')
-rw-r--r-- | src/xmlgen.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 1b03c3b..81fba40 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -1825,6 +1825,9 @@ static void generateXMLForPage(PageDef *pd,FTextStream &ti,bool isExample) } } writeInnerPages(pd->getSubPages(),t); + t << " <briefdescription>" << endl; + writeXMLDocBlock(t,pd->briefFile(),pd->briefLine(),pd,0,pd->briefDescription()); + t << " </briefdescription>" << endl; t << " <detaileddescription>" << endl; if (isExample) { |