diff options
author | Shawn Hussey <shawn@zeroc.com> | 2011-08-16 14:05:56 -0230 |
---|---|---|
committer | Shawn Hussey <shawn@zeroc.com> | 2011-08-16 14:05:56 -0230 |
commit | 834b8b7872437cecf9ef78fd09ad549329bf596f (patch) | |
tree | 74f3e2571516b2c8dbe0dab70baba7c720fffa53 /cpp/src/slice2confluence/Gen.cpp | |
parent | Initial commit of slice2confluence. (diff) | |
download | ice-834b8b7872437cecf9ef78fd09ad549329bf596f.tar.bz2 ice-834b8b7872437cecf9ef78fd09ad549329bf596f.tar.xz ice-834b8b7872437cecf9ef78fd09ad549329bf596f.zip |
Fixed filenames on some links to not include the .conf extension.
Diffstat (limited to 'cpp/src/slice2confluence/Gen.cpp')
-rwxr-xr-x | cpp/src/slice2confluence/Gen.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/slice2confluence/Gen.cpp b/cpp/src/slice2confluence/Gen.cpp index f89a4f94b6e..d02033ca09b 100755 --- a/cpp/src/slice2confluence/Gen.cpp +++ b/cpp/src/slice2confluence/Gen.cpp @@ -694,14 +694,14 @@ Slice::GeneratorBase::printHeaderFooter(const ContainedPtr& c) { homeLink += "/"; } - homeLink += "index.conf"; + homeLink += "index"; string indexLink = getLinkPath(0, container, false, onEnumPage); if(!indexLink.empty()) { indexLink += "/"; } - indexLink += "_sindex.conf"; + indexLink += "_sindex"; string imageDir = getImageDir(); @@ -1644,7 +1644,7 @@ Slice::GeneratorBase::readFile(const string& file, string& part1, string& part2) Slice::StartPageGenerator::StartPageGenerator(const Files& files) : GeneratorBase(_out, files) { - openDoc("index.conf", "Slice API Documentation"); + openDoc("index", "Slice API Documentation"); } Slice::StartPageGenerator::~StartPageGenerator() @@ -1701,12 +1701,12 @@ Slice::StartPageGenerator::printHeaderFooter() string imageDir = getImageDir(); if(imageDir.empty()) { - _out << getLinkMarkup("_sindex.conf", "Index"); + _out << getLinkMarkup("_sindex", "Index"); } else { string src = imageDir + "/index.gif"; - _out << getLinkMarkup("_sindex.conf", getImageMarkup(src, "Index Button")); + _out << getLinkMarkup("_sindex", getImageMarkup(src, "Index Button")); } end(); // td end(); // tr @@ -1827,7 +1827,7 @@ TOCGenerator::TOCGenerator(const Files& files, const string& header, const strin : GeneratorBase(_out, files) { _footer = footer; - openDoc("_sindex.conf", "Slice API Index", header, footer); + openDoc("_sindex", "Slice API Index", header, footer); start("h1"); _out << "Slice API Index"; |