diff options
-rw-r--r-- | doc/docblocks.doc | 4 | ||||
-rw-r--r-- | src/filedef.cpp | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/docblocks.doc b/doc/docblocks.doc index 96a2621..ac81bec 100644 --- a/doc/docblocks.doc +++ b/doc/docblocks.doc @@ -431,7 +431,9 @@ using structural commands: a case where the \\fn command is redundant and will only lead to problems. When you place a comment block in a file with one of the following extensions - `.dox`, `.txt`, or `.doc` then doxygen will hide this file from the file list. + `.dox`, `.txt`, `.doc`, `.md` or `.markdown` or when the extension maps to + `md` by means of the \ref cfg_extension_mapping "EXTENSION_MAPPING" + then doxygen will hide this file from the file list. If you have a file that doxygen cannot parse but still would like to document it, you can show it as-is using \ref cmdverbinclude "\\verbinclude", e.g. 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() |