summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-08-07 17:46:04 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-08-07 17:46:04 (GMT)
commit4b2d48051f610a312497500bf647222dac95ea5e (patch)
tree164615e1a84affd6b07ac06fe5ed41a9f0383091 /Source
parent117bb537ebb4e1d4add46e439388ee726675b17f (diff)
downloadCMake-4b2d48051f610a312497500bf647222dac95ea5e.zip
CMake-4b2d48051f610a312497500bf647222dac95ea5e.tar.gz
CMake-4b2d48051f610a312497500bf647222dac95ea5e.tar.bz2
ENH: html output for docs
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 7914840..f8603c4 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -795,17 +795,17 @@ int cmMakefile::DumpDocumentationToFile(const char *fileName)
const char *terse;
const char *full;
+ f << "<html><ul>\n";
for(RegisteredCommandsMap::iterator j = m_Commands.begin();
j != m_Commands.end(); ++j)
{
name = (*j).second->GetName();
terse = (*j).second->GetTerseDocumentation();
full = (*j).second->GetFullDocumentation();
- f << name << " - " << terse << std::endl
- << "Usage: " << full << std::endl << std::endl;
+ f << "<li><b>" << name << "</b> - " << terse << std::endl
+ << "<br><i>Usage:</i> " << full << "</li>" << std::endl << std::endl;
}
-
-
+ f << "</ul></html>\n";
return 1;
}