Permalink
Browse files

Table of contents breaks when documentation spans multiple comment bl…

…ocks with same @page

Based on the question in the doxygen users forum:
http://doxygen.10944.n7.nabble.com/Table-of-contents-breaks-when-documentation-spans-multiple-comment-blocks-with-same-page-td7571.html

Fixed by means of that when toc is set once for a page it remains set for that page, otherwise the last page has to have the @TableofContents command (or all @page commands)
  • Loading branch information...
albert-github committed Apr 9, 2016
1 parent 4c03fcc commit 7f7f7273f816335d556668b86aa99d05f7f09992
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pagedef.cpp
View
@@ -308,6 +308,6 @@ void PageDef::setNestingLevel(int l)
void PageDef::setShowToc(bool b)
{
m_showToc = b;
m_showToc |= b;
}

0 comments on commit 7f7f727

Please sign in to comment.