summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2017-12-28 09:13:43 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2017-12-28 09:13:43 (GMT)
commit989de07559a112c398da0bf3e7a1112ed5c8dbd7 (patch)
tree07e79b6c76dec9c20f6c0df3c6662d73dcade4ef /src/pagedef.cpp
parent9538bfd15c99aceb619f426b30c87004c4820370 (diff)
parent3977359bd3fb5527a237c2c0cdb61407f2d85464 (diff)
downloadDoxygen-989de07559a112c398da0bf3e7a1112ed5c8dbd7.zip
Doxygen-989de07559a112c398da0bf3e7a1112ed5c8dbd7.tar.gz
Doxygen-989de07559a112c398da0bf3e7a1112ed5c8dbd7.tar.bz2
Merge branch 'master' of https://github.com/ahoogol/doxygen into ahoogol-master
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r--src/pagedef.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index 2517942..b2b7dc8 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -191,6 +191,7 @@ void PageDef::writeDocumentation(OutputList &ol)
ol.disable(OutputGenerator::Man);
if (!title().isEmpty() && !name().isEmpty() && si!=0)
{
+ ol.startPageDoc(si->title);
//ol.startSection(si->label,si->title,si->type);
startTitle(ol,getOutputFileBase(),this);
ol.generateDoc(docFile(),docLine(),this,0,si->title,TRUE,FALSE,0,TRUE,FALSE);
@@ -200,6 +201,8 @@ void PageDef::writeDocumentation(OutputList &ol)
//ol.endSection(si->label,si->type);
endTitle(ol,getOutputFileBase(),name());
}
+ else
+ ol.startPageDoc("");
ol.startContents();
ol.popGeneratorState();
//2.}
@@ -210,6 +213,7 @@ void PageDef::writeDocumentation(OutputList &ol)
}
writePageDocumentation(ol);
+ ol.endPageDoc();
if (generateTreeView && getOuterScope()!=Doxygen::globalScope && !Config_getBool(DISABLE_INDEX))
{