summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-04-08 14:16:03 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-04-08 14:16:03 (GMT)
commit17ee30b327bf4f07f2411a50a46f5467456beacf (patch)
treeffd092e761289b417363c0562ceb9b93b88f19a4 /src/filedef.cpp
parent0039b4f79ad7e628dcab61e1d82f26fb8fa11cfe (diff)
downloadDoxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.zip
Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.gz
Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.bz2
Release-1.8.0-20120408
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index e25e04f..12a1ce8 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -526,7 +526,7 @@ void FileDef::writeDocumentation(OutputList &ol)
QCString title = docname+versionTitle;
QCString pageTitle=theTranslator->trFileReference(docname);
- if (Config_getBool("SHOW_DIRECTORIES") && getDirDef())
+ if (getDirDef())
{
startFile(ol,getOutputFileBase(),name(),pageTitle,HLI_FileVisible,!generateTreeView);
if (!generateTreeView)
@@ -785,7 +785,7 @@ void FileDef::writeSource(OutputList &ol)
ol.disable(OutputGenerator::RTF);
if (!latexSourceCode) ol.disable(OutputGenerator::Latex);
- if (Config_getBool("SHOW_DIRECTORIES") && getDirDef())
+ if (getDirDef())
{
startFile(ol,getSourceFileBase(),0,pageTitle,HLI_FileVisible,
!generateTreeView,getOutputFileBase());
@@ -1159,7 +1159,8 @@ bool FileDef::generateSourceFile() const
(Config_getBool("SOURCE_BROWSER") ||
(Config_getBool("VERBATIM_HEADERS") && guessSection(name())==Entry::HEADER_SEC)
) &&
- extension!=".doc" && extension!=".txt" && extension!=".dox";
+ extension!=".doc" && extension!=".txt" && extension!=".dox" &&
+ extension!=".md" && extension!=".markdown";
}
@@ -1485,7 +1486,9 @@ bool FileDef::isDocumentationFile() const
{
return name().right(4)==".doc" ||
name().right(4)==".txt" ||
- name().right(4)==".dox";
+ name().right(4)==".dox" ||
+ name().right(3)==".md" ||
+ name().right(9)==".markdown";
}
void FileDef::acquireFileVersion()