summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-11-24 21:17:26 (GMT)
committerGitHub <noreply@github.com>2020-11-24 21:17:26 (GMT)
commit6de91dc5e32e6d97a557fe6910a6cbf1d453ad9c (patch)
treea1872d7b4865858e71321b0c015f9c1e496fd7b7 /src/filedef.cpp
parent526a901c2ea1315727f8c60e48b799db39803fcd (diff)
parent8a20dd6c10c08424dd0ead6e58c2f34d2f90c509 (diff)
downloadDoxygen-6de91dc5e32e6d97a557fe6910a6cbf1d453ad9c.zip
Doxygen-6de91dc5e32e6d97a557fe6910a6cbf1d453ad9c.tar.gz
Doxygen-6de91dc5e32e6d97a557fe6910a6cbf1d453ad9c.tar.bz2
Merge pull request #8196 from albert-github/feature/bug_shown_files
Exclude markdown mapped documentation files from Files list
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index 45dde1f..c2020e1 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -1918,7 +1918,8 @@ bool FileDefImpl::isDocumentationFile() const
name().right(4)==".txt" ||
name().right(4)==".dox" ||
name().right(3)==".md" ||
- name().right(9)==".markdown";
+ name().right(9)==".markdown" ||
+ getLanguageFromFileName(getFileNameExtension(name())) == SrcLangExt_Markdown;
}
void FileDefImpl::acquireFileVersion()