diff options
-rw-r--r-- | src/pagedef.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp index 1210305..e797b050 100644 --- a/src/pagedef.cpp +++ b/src/pagedef.cpp @@ -169,6 +169,11 @@ void PageDef::writeDocumentation(OutputList &ol) ol.endTitleHead(manPageName, manPageName); if (si) { + ol.pushGeneratorState(); + ol.disableAllBut(OutputGenerator::Man); + ol.writeString(" - "); + ol.popGeneratorState(); + ol.generateDoc(docFile(),docLine(),this,0,si->title,TRUE,FALSE,0,TRUE,FALSE); ol.endSection(si->label,si->type); } @@ -230,7 +235,7 @@ void PageDef::writePageDocumentation(OutputList &ol) ol.startTextBlock(); QCString docStr = documentation()+inbodyDocumentation(); - if (!docStr.isEmpty()) + if (hasBriefDescription() && !Doxygen::sectionDict->find(name())) { ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Man); |