Skip to content

Commit

Permalink
Avoid generating unused dir_* output files for non HTML output formats
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Jun 12, 2017
1 parent 88ff6e5 commit 3898784
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/dirdef.cpp
Expand Up @@ -998,7 +998,13 @@ void generateDirDocs(OutputList &ol)
DirSDict::Iterator sdi(*Doxygen::directories); DirSDict::Iterator sdi(*Doxygen::directories);
for (sdi.toFirst();(dir=sdi.current());++sdi) for (sdi.toFirst();(dir=sdi.current());++sdi)
{ {
ol.pushGeneratorState();
if (!dir->hasDocumentation())
{
ol.disableAllBut(OutputGenerator::Html);
}
dir->writeDocumentation(ol); dir->writeDocumentation(ol);
ol.popGeneratorState();
} }
if (Config_getBool(DIRECTORY_GRAPH)) if (Config_getBool(DIRECTORY_GRAPH))
{ {
Expand Down

0 comments on commit 3898784

Please sign in to comment.