summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-10-15 15:32:16 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-10-15 15:32:16 (GMT)
commit868208ab61ca3aa6f506076f60de2745eaa8a6be (patch)
tree7824ba2a5c9f1fe6ddc8633a13cc7d1e7a6c79a3 /src/index.cpp
parent499475795ed160e3a1e9cb571adc1ad86dc6a8ba (diff)
downloadDoxygen-868208ab61ca3aa6f506076f60de2745eaa8a6be.zip
Doxygen-868208ab61ca3aa6f506076f60de2745eaa8a6be.tar.gz
Doxygen-868208ab61ca3aa6f506076f60de2745eaa8a6be.tar.bz2
Release-1.2.2-20001015
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("()");