Commit e23129c3 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Merge pull request #213 from ellert/groupdef

Bug 651850 - @defgroup generates manpage warning
parents ef2e29a8 e1aa7af2
...@@ -941,7 +941,15 @@ void GroupDef::writeDocumentation(OutputList &ol) ...@@ -941,7 +941,15 @@ void GroupDef::writeDocumentation(OutputList &ol)
ol.parseText(title); ol.parseText(title);
ol.popGeneratorState(); ol.popGeneratorState();
addGroupListToTitle(ol,this); addGroupListToTitle(ol,this);
ol.pushGeneratorState();
ol.disable(OutputGenerator::Man);
ol.endTitleHead(getOutputFileBase(),title); ol.endTitleHead(getOutputFileBase(),title);
ol.popGeneratorState();
ol.pushGeneratorState();
ol.disableAllBut(OutputGenerator::Man);
ol.endTitleHead(getOutputFileBase(),name());
ol.parseText(title);
ol.popGeneratorState();
ol.endHeaderSection(); ol.endHeaderSection();
ol.startContents(); ol.startContents();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment