summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentationFormatterHTML.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDocumentationFormatterHTML.cxx')
-rw-r--r--Source/cmDocumentationFormatterHTML.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmDocumentationFormatterHTML.cxx b/Source/cmDocumentationFormatterHTML.cxx
index 0f7cc70..09390b4 100644
--- a/Source/cmDocumentationFormatterHTML.cxx
+++ b/Source/cmDocumentationFormatterHTML.cxx
@@ -202,10 +202,13 @@ void cmDocumentationFormatterHTML::PrintParagraph(std::ostream& os,
}
//----------------------------------------------------------------------------
-void cmDocumentationFormatterHTML::PrintHeader(const char* /*name*/,
+void cmDocumentationFormatterHTML::PrintHeader(const char* docname,
+ const char* appname,
std::ostream& os)
{
- os << "<html><body>\n";
+ os << "<html><head><title>";
+ os << docname << " - " << appname;
+ os << "</title></head><body>\n";
}
//----------------------------------------------------------------------------