From 956342ae0b2e09f5e398778c255006f9d26e7b52 Mon Sep 17 00:00:00 2001 From: albert-github Date: Thu, 12 Jul 2018 14:46:30 +0200 Subject: 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) --- src/definition.h | 2 +- testing/043/mypage.xml | 29 ++++++++++++++++++++++++++++- 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 @@ mypage Page Title Another Page - + + + Section Title. + mypage_1mysect + + + Subsection Title. + mypage_1mysubsect + + + Subsubsection Title. + mypage_1mysubsubsect + + + Paragraph Title. + mypage_1mypara + + + + + + + + + Another Section Title. + mypage_1mysect2 + + Page brief description. 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. -- cgit v0.12