diff options
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r-- | src/pagedef.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp index 6146a3c..ab64a88 100644 --- a/src/pagedef.cpp +++ b/src/pagedef.cpp @@ -229,12 +229,19 @@ void PageDef::writePageDocumentation(OutputList &ol) } ol.startTextBlock(); + QCString docStr = documentation()+inbodyDocumentation(); + if (!docStr.isEmpty()) + { + ol.disableAllBut(OutputGenerator::Man); + ol.writeString(" - "); + ol.enableAll(); + } ol.generateDoc( docFile(), // fileName docLine(), // startLine this, // context 0, // memberdef - documentation()+inbodyDocumentation(), // docStr + docStr, // docStr TRUE, // index words FALSE // not an example ); |