summaryrefslogtreecommitdiffstats
path: root/src/htmlhelp.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-04-30 17:51:14 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-04-30 17:51:14 (GMT)
commit758291b1be0c43c13088389b0cfbb560efe00c1f (patch)
treea37d75aa0ebe073906cb1a3c2c1506b96409f075 /src/htmlhelp.cpp
parent210582f8060fb41f6ad34d8315c9dd27b1bb6834 (diff)
downloadDoxygen-758291b1be0c43c13088389b0cfbb560efe00c1f.zip
Doxygen-758291b1be0c43c13088389b0cfbb560efe00c1f.tar.gz
Doxygen-758291b1be0c43c13088389b0cfbb560efe00c1f.tar.bz2
Release-1.2.15-20020430
Diffstat (limited to 'src/htmlhelp.cpp')
-rw-r--r--src/htmlhelp.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp
index f179449..71941b5 100644
--- a/src/htmlhelp.cpp
+++ b/src/htmlhelp.cpp
@@ -26,6 +26,7 @@
#include "htmlhelp.h"
#include "config.h"
#include "message.h"
+#include "doxygen.h"
//----------------------------------------------------------------------------
@@ -176,7 +177,7 @@ void HtmlHelpIndex::writeFields(QTextStream &t)
if (level2.isEmpty())
{
t << " <LI><OBJECT type=\"text/sitemap\">";
- t << "<param name=\"Local\" value=\"" << f->url << ".html";
+ t << "<param name=\"Local\" value=\"" << f->url << htmlFileExtension;
if (!f->anchor.isEmpty()) t << "#" << f->anchor;
t << "\">";
t << "<param name=\"Name\" value=\"" << level1 << "\">"
@@ -187,7 +188,7 @@ void HtmlHelpIndex::writeFields(QTextStream &t)
if (f->link)
{
t << " <LI><OBJECT type=\"text/sitemap\">";
- t << "<param name=\"Local\" value=\"" << f->url << ".html\">";
+ t << "<param name=\"Local\" value=\"" << f->url << htmlFileExtension << "\">";
t << "<param name=\"Name\" value=\"" << level1 << "\">"
"</OBJECT>\n";
}
@@ -213,7 +214,7 @@ void HtmlHelpIndex::writeFields(QTextStream &t)
if (level2Started)
{
t << " <LI><OBJECT type=\"text/sitemap\">";
- t << "<param name=\"Local\" value=\"" << f->url << ".html";
+ t << "<param name=\"Local\" value=\"" << f->url << htmlFileExtension;
if (!f->anchor.isEmpty()) t << "#" << f->anchor;
t << "\">";
t << "<param name=\"Name\" value=\"" << level2 << "\">"
@@ -307,8 +308,8 @@ void HtmlHelp::createProjectFile()
t.setEncoding(QTextStream::Latin1);
#endif
- QCString indexName="index.html";
- if (Config_getBool("GENERATE_TREEVIEW")) indexName="main.html";
+ QCString indexName="index"+htmlFileExtension;
+ if (Config_getBool("GENERATE_TREEVIEW")) indexName="main"+htmlFileExtension;
t << "[OPTIONS]\n"
"Compatibility=1.1\n"
"Full-text search=Yes\n"
@@ -417,7 +418,7 @@ void HtmlHelp::addContentsItem(bool isDir,
cts << "<param name=\"Name\" value=\"" << name << "\">";
if (ref) // made ref optional param - KPW
{
- cts << "<param name=\"Local\" value=\"" << ref << ".html";
+ cts << "<param name=\"Local\" value=\"" << ref << htmlFileExtension;
if (anchor) cts << "#" << anchor;
cts << "\">";
}