summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-09-24 20:33:07 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-09-24 20:33:07 (GMT)
commit6778bfcda9c30df98ea011cca3d36705798531b4 (patch)
treeb50a7ace694be7f29ae897c96045f16755d30ef8 /src/index.cpp
parent34c1092a798a7792037fbe32acfb50dfebf84dc3 (diff)
downloadDoxygen-6778bfcda9c30df98ea011cca3d36705798531b4.zip
Doxygen-6778bfcda9c30df98ea011cca3d36705798531b4.tar.gz
Doxygen-6778bfcda9c30df98ea011cca3d36705798531b4.tar.bz2
Release-1.2.2
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp25
1 files changed, 14 insertions, 11 deletions
diff --git a/src/index.cpp b/src/index.cpp
index b81f69a..9bd0e37 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -1673,9 +1673,10 @@ void writeIndex(OutputList &ol)
{
projPrefix=Config::projectName+" ";
}
+
+ //--------------------------------------------------------------------
// write HTML index
- //ol.disable(OutputGenerator::Man);
- //ol.disable(OutputGenerator::Latex);
+ //--------------------------------------------------------------------
ol.disableAllBut(OutputGenerator::Html);
QCString defFileName =
@@ -1690,7 +1691,7 @@ void writeIndex(OutputList &ol)
}
else
{
- title = mainPage->title;
+ title = substitute(mainPage->title,"%","");
}
ol.startFile("index",title,FALSE);
@@ -1727,7 +1728,9 @@ void writeIndex(OutputList &ol)
endFile(ol);
ol.disable(OutputGenerator::Html);
+ //--------------------------------------------------------------------
// write LaTeX/RTF index
+ //--------------------------------------------------------------------
ol.enable(OutputGenerator::Latex);
ol.enable(OutputGenerator::RTF);
@@ -1844,14 +1847,14 @@ void writeIndex(OutputList &ol)
{
ol.disable(OutputGenerator::Man);
startFile(ol,mainPage->name,mainPage->title);
- SectionInfo *si=0;
- if (!mainPage->title.isEmpty() && !mainPage->name.isEmpty() &&
- (si=sectionDict[mainPage->name])!=0)
- {
- ol.startSection(si->label,si->title,FALSE);
- ol.docify(si->title);
- ol.endSection(si->label,FALSE);
- }
+ //SectionInfo *si=0;
+ //if (!mainPage->title.isEmpty() && !mainPage->name.isEmpty() &&
+ // (si=sectionDict[mainPage->name])!=0)
+ //{
+ // ol.startSection(si->label,si->title,FALSE);
+ // ol.docify(si->title);
+ // ol.endSection(si->label,FALSE);
+ //}
ol.startTextBlock();
parseDoc(ol,defFileName,defLine,0,0,mainPage->doc);
ol.endTextBlock();