diff options
author | Vladimír Vondruš <mosra@centrum.cz> | 2018-12-29 20:49:41 (GMT) |
---|---|---|
committer | Vladimír Vondruš <mosra@centrum.cz> | 2018-12-29 23:47:41 (GMT) |
commit | c3768085f8ab68cd61bae4d132b74d9edd813ce0 (patch) | |
tree | c25f84e1969c3b2f0f6a14a1036d8fe0e6069453 /testing/079/levels.xml | |
parent | e26a5b8eed8a012e6a400f1ed6baf27980668b53 (diff) | |
download | Doxygen-c3768085f8ab68cd61bae4d132b74d9edd813ce0.zip Doxygen-c3768085f8ab68cd61bae4d132b74d9edd813ce0.tar.gz Doxygen-c3768085f8ab68cd61bae4d132b74d9edd813ce0.tar.bz2 |
testing: add a test for TOC levels in the XML output.
For good measure, this one works.
Diffstat (limited to 'testing/079/levels.xml')
-rw-r--r-- | testing/079/levels.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/079/levels.xml b/testing/079/levels.xml new file mode 100644 index 0000000..bbb4232 --- /dev/null +++ b/testing/079/levels.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version=""> + <compounddef id="levels" kind="page"> + <compoundname>levels</compoundname> + <title>A page with two-level TOC</title> + <tableofcontents> + <tocsect> + <name>A section that's in TOC</name> + <reference>levels_1first</reference> + <tableofcontents> + <tocsect> + <name>A subsection that's in TOC</name> + <reference>levels_1first2</reference> + </tocsect> + </tableofcontents> + </tocsect> + <tocsect> + <name>A section that's in TOC again</name> + <reference>levels_1second</reference> + </tocsect> + </tableofcontents> + <briefdescription> + </briefdescription> + <detaileddescription> + <sect1 id="levels_1first"> + <title>A section that's in TOC</title> + <sect2 id="levels_1first2"> + <title>A subsection that's in TOC</title> + <sect3 id="levels_1first3"> + <title>A subsubsection that's not in TOC</title> + <para>Nay!</para> + </sect3> + </sect2> + </sect1> + <sect1 id="levels_1second"> + <title>A section that's in TOC again</title> + <para>Yay! </para> + </sect1> + </detaileddescription> + </compounddef> +</doxygen> |