summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp28
1 files changed, 16 insertions, 12 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 9bd0e37..f470341 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -320,6 +320,7 @@ void writeGraphicalClassHierarchy(OutputList &ol)
//----------------------------------------------------------------------------
+
void countFiles(int &htmlFiles,int &files)
{
htmlFiles=0;
@@ -334,13 +335,18 @@ void countFiles(int &htmlFiles,int &files)
{
bool doc = fd->isLinkableInProject();
bool src = fd->generateSourceFile();
- if (doc || src)
- {
- htmlFiles++;
- }
- if (doc)
+ bool nameOk = fd->name().right(4)!=".doc" &&
+ fd->name().right(4)!=".txt";
+ if (nameOk)
{
- files++;
+ if (doc || src)
+ {
+ htmlFiles++;
+ }
+ if (doc)
+ {
+ files++;
+ }
}
}
}
@@ -416,7 +422,10 @@ void writeFileIndex(OutputList &ol)
//printf("Found filedef %s\n",fd->name().data());
bool doc = fd->isLinkableInProject();
bool src = fd->generateSourceFile();
- if ((doc || src) && !fd->isReference())
+ bool nameOk = fd->name().right(4)!=".doc" &&
+ fd->name().right(4)!=".txt";
+ if (nameOk && (doc || src) &&
+ !fd->isReference())
{
QCString path;
if (Config::fullPathNameFlag)
@@ -1223,11 +1232,6 @@ void writeNamespaceMemberList(OutputList &ol,bool useSections)
first=FALSE;
}
}
- else if (first)
- {
- first=FALSE;
- ol.startItemList();
- }
ol.writeListItem();
ol.docify(md->name());
if (md->isFunction()) ol.docify("()");