diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-08-11 20:15:10 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-08-11 20:15:10 (GMT) |
commit | 17e35fd285d98df3c7fe59ee8805152726c3572e (patch) | |
tree | 9e4492a0b5642a047896b46030df4d8a97e2f4f8 /src/doxygen.cpp | |
parent | 5d63a37e7097d6a0467da4895296688abd366b0a (diff) | |
download | Doxygen-17e35fd285d98df3c7fe59ee8805152726c3572e.zip Doxygen-17e35fd285d98df3c7fe59ee8805152726c3572e.tar.gz Doxygen-17e35fd285d98df3c7fe59ee8805152726c3572e.tar.bz2 |
Release-1.2.17-20020811
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 20dedec..95b723d 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -186,8 +186,7 @@ static void addMemberDocs(Entry *root,MemberDef *md, const char *funcDecl, const char idMask[] = "[A-Za-z_][A-Za-z_0-9]*"; QCString spaces; -QCString htmlFileExtension; -int htmlFileExtensionLength; +QCString Doxygen::htmlFileExtension; //---------------------------------------------------------------------------- @@ -6059,7 +6058,7 @@ static void generateExampleDocs() for (pdi.toFirst();(pi=pdi.current());++pdi) { msg("Generating docs for example %s...\n",pi->name.data()); - QCString n=convertNameToFile(pi->name+"-example"); + QCString n=pi->fileName; startFile(*outputList,n,n,"Example Documentation"); startTitle(*outputList,n); outputList->docify(pi->name); @@ -6268,9 +6267,9 @@ static void generateSearchIndex() //outputList->generateExternalIndex(); outputList->pushGeneratorState(); outputList->disableAllBut(OutputGenerator::Html); - startFile(*outputList,"header"+htmlFileExtension,0,"Search Engine",TRUE); + startFile(*outputList,"header"+Doxygen::htmlFileExtension,0,"Search Engine",TRUE); outputList->endPlainFile(); - outputList->startPlainFile("footer"+htmlFileExtension); + outputList->startPlainFile("footer"+Doxygen::htmlFileExtension); endFile(*outputList,TRUE); outputList->popGeneratorState(); } @@ -7135,8 +7134,7 @@ void readConfiguration(int argc, char **argv) } /* Set the global html file extension. */ - htmlFileExtension = Config_getString("HTML_FILE_EXTENSION"); - htmlFileExtensionLength = htmlFileExtension.length(); + Doxygen::htmlFileExtension = Config_getString("HTML_FILE_EXTENSION"); /* init the special lists */ Doxygen::specialLists->setAutoDelete(TRUE); |