diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2018-04-22 10:12:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-22 10:12:10 (GMT) |
commit | e75de3722b98115f27483aeacb3b2b1dbe7114a3 (patch) | |
tree | 24b34568b5a50b850056fb0e5eb8c7ce1e9607e7 | |
parent | 1eca0c59c0f5916181d4dc24ee16c0e2e4910960 (diff) | |
parent | 5d79d65df3b66554c8e9630fd3bea322c3e36f0d (diff) | |
download | Doxygen-e75de3722b98115f27483aeacb3b2b1dbe7114a3.zip Doxygen-e75de3722b98115f27483aeacb3b2b1dbe7114a3.tar.gz Doxygen-e75de3722b98115f27483aeacb3b2b1dbe7114a3.tar.bz2 |
Merge pull request #706 from c-lipka/dirinfo_dox
Include "empty" directories documenting themselves.
-rw-r--r-- | src/dirdef.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dirdef.cpp b/src/dirdef.cpp index b247ba7..6631ed7 100644 --- a/src/dirdef.cpp +++ b/src/dirdef.cpp @@ -930,14 +930,14 @@ void buildDirectories() for (;(fd=fni.current());++fni) { //printf("buildDirectories %s\n",fd->name().data()); - if (fd->getReference().isEmpty() && !fd->isDocumentationFile()) + if (fd->getReference().isEmpty()) { DirDef *dir; if ((dir=Doxygen::directories->find(fd->getPath()))==0) // new directory { dir = DirDef::mergeDirectoryInTree(fd->getPath()); } - if (dir) dir->addFile(fd); + if (dir && !fd->isDocumentationFile()) dir->addFile(fd); } else { |