diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2017-12-24 09:32:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-24 09:32:52 (GMT) |
commit | 8acdd3ca5719be461674847341a6d9f93a27f367 (patch) | |
tree | a921c2c182a3a609bb86f68475c878a29180ff37 /src/xmlgen.cpp | |
parent | 2ceb8cd0748701376362fee28ecf2b4b80fc47a6 (diff) | |
parent | fe760977e2cb643b94fbf21847e0c81e8a080966 (diff) | |
download | Doxygen-8acdd3ca5719be461674847341a6d9f93a27f367.zip Doxygen-8acdd3ca5719be461674847341a6d9f93a27f367.tar.gz Doxygen-8acdd3ca5719be461674847341a6d9f93a27f367.tar.bz2 |
Merge pull request #625 from mosra/xml-tableofcontents
Expose TOC placeholder in XML output
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index a2ed2ba..6e8c4cc 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -1827,6 +1827,10 @@ static void generateXMLForPage(PageDef *pd,FTextStream &ti,bool isExample) } } writeInnerPages(pd->getSubPages(),t); + if(pd->showToc()) + { + t << " <tableofcontents/>" << endl; + } t << " <briefdescription>" << endl; writeXMLDocBlock(t,pd->briefFile(),pd->briefLine(),pd,0,pd->briefDescription()); t << " </briefdescription>" << endl; |