summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-05 16:05:22 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-05 16:05:22 (GMT)
commit7173f2db0e37a1621236b3ceeb883d4f1255ee42 (patch)
treeec52c35deb6c136c8a16d0c23304934c09cd2653 /Source/cmDocumentation.cxx
parent68bcb056eba91d317e6ba90715e67f62c1e44c54 (diff)
downloadCMake-7173f2db0e37a1621236b3ceeb883d4f1255ee42.zip
CMake-7173f2db0e37a1621236b3ceeb883d4f1255ee42.tar.gz
CMake-7173f2db0e37a1621236b3ceeb883d4f1255ee42.tar.bz2
ENH: add master index into html full help
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r--Source/cmDocumentation.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index fca5b3e..3b3dab7 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -846,6 +846,9 @@ void cmDocumentation::Print(Form f, std::ostream& os)
//----------------------------------------------------------------------------
void cmDocumentation::Print(std::ostream& os)
{
+ // if the formatter supports it, print a master index for
+ // all sections
+ this->CurrentFormatter->PrintIndex(os, this->PrintSections);
for(unsigned int i=0; i < this->PrintSections.size(); ++i)
{
std::string name = this->PrintSections[i]->