Permalink
Browse files

Avoid generating unused dir_* output files for non HTML output formats

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Jun 12, 2017
1 parent 88ff6e5 commit 38987846ec0752b8deee7bab69c7890aa861af00
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/dirdef.cpp
View
@@ -998,7 +998,13 @@ void generateDirDocs(OutputList &ol)
DirSDict::Iterator sdi(*Doxygen::directories);
for (sdi.toFirst();(dir=sdi.current());++sdi)
{
ol.pushGeneratorState();
if (!dir->hasDocumentation())
{
ol.disableAllBut(OutputGenerator::Html);
}
dir->writeDocumentation(ol);
ol.popGeneratorState();
}
if (Config_getBool(DIRECTORY_GRAPH))
{

0 comments on commit 3898784

Please sign in to comment.