diff options
author | albert-github <albert.tests@gmail.com> | 2018-07-12 12:46:30 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-07-12 12:46:30 (GMT) |
commit | 956342ae0b2e09f5e398778c255006f9d26e7b52 (patch) | |
tree | 37f7026084b72883d365f1ddc457bf4e336158ab | |
parent | 858d65a9cd7b9b7cf71da01098f47d583b3322f5 (diff) | |
download | Doxygen-956342ae0b2e09f5e398778c255006f9d26e7b52.zip Doxygen-956342ae0b2e09f5e398778c255006f9d26e7b52.tar.gz Doxygen-956342ae0b2e09f5e398778c255006f9d26e7b52.tar.bz2 |
Enable in page table of contents for XML and add maximum level to in page table of contents
- correction of compiler error (not caught on Windows)
- updated test 43 (for in page toc)
-rw-r--r-- | src/definition.h | 2 | ||||
-rw-r--r-- | testing/043/mypage.xml | 29 | ||||
-rw-r--r-- | testing/043_page.dox | 2 |
3 files changed, 30 insertions, 3 deletions
diff --git a/src/definition.h b/src/definition.h index c77474c..ac9cc56 100644 --- a/src/definition.h +++ b/src/definition.h @@ -283,7 +283,7 @@ class Definition : public DefinitionIntf QCString id() const; /** returns the section dictionary, only of importance for pagedef */ - SectionDict * Definition::getSectionDict(void); + SectionDict * getSectionDict(void); //----------------------------------------------------------------------------------- // ---- setters ----- diff --git a/testing/043/mypage.xml b/testing/043/mypage.xml index 79fb7ae..c9bd6d0 100644 --- a/testing/043/mypage.xml +++ b/testing/043/mypage.xml @@ -4,7 +4,34 @@ <compoundname>mypage</compoundname> <title>Page Title</title> <innerpage refid="another">Another Page</innerpage> - <tableofcontents/> + <tableofcontents> + <tocsect> + <name>Section Title.</name> + <reference>mypage_1mysect</reference> + <tableofcontents> + <tocsect> + <name>Subsection Title.</name> + <reference>mypage_1mysubsect</reference> + <tableofcontents> + <tocsect> + <name>Subsubsection Title.</name> + <reference>mypage_1mysubsubsect</reference> + <tableofcontents> + <tocsect> + <name>Paragraph Title.</name> + <reference>mypage_1mypara</reference> + </tocsect> + </tableofcontents> + </tocsect> + </tableofcontents> + </tocsect> + </tableofcontents> + </tocsect> + <tocsect> + <name>Another Section Title.</name> + <reference>mypage_1mysect2</reference> + </tocsect> + </tableofcontents> <briefdescription> <para>Page brief description. </para> </briefdescription> diff --git a/testing/043_page.dox b/testing/043_page.dox index 38c1894..d554da2 100644 --- a/testing/043_page.dox +++ b/testing/043_page.dox @@ -4,7 +4,7 @@ /** \page mypage Page Title * \brief Page brief description. * - * @tableofcontents + * @tableofcontents{xml,html,latex} * * Text at page level. See \ref mysect for more. * \section mysect Section Title. |