Merge pull request #19 from awulkiew/feature/report

Fix the ToC (quick and dirty).
This commit is contained in:
Rene Rivera
2015-05-15 11:07:36 -05:00
2 changed files with 6 additions and 3 deletions

View File

@@ -111,10 +111,13 @@ int main(int argc, char* argv[]) {
modes.push_back("developer");
modes.push_back("user");
// NOTE: The ToC is generated in result_page(). In the currently used setup
// only the non-release result_page is generated. To be consistent with it,
// the non-release issues page is generated.
if (reports.count("i") != 0) {
std::cout << "Generating issues page" << std::endl;
issues_list("developer", structure, markup,
true, tag, now, warnings, "");
false, tag, now, warnings, "");
}
BOOST_FOREACH(const std::string& mode, modes) {

View File

@@ -370,11 +370,11 @@ void boost::regression::result_page(const test_structure_t& tests,
" </div>\n";
}
toc << " <div class=\"toc-header-entry\">\n";
/*toc << " <div class=\"toc-header-entry\">\n";
insert_view_link(toc, "index", "toc-entry", release);
toc << " </div>\n";
toc << " </div>\n";*/
toc << " <hr/>\n";