summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2012-09-07 08:34:34 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-07 14:09:33 (GMT)
commitcffa899a47e83599bbe081c9f8070b7e35de1d58 (patch)
tree1823d08619949e845638ea0eac2143a1b19ca6b3
parentac25bc0135c3d13ce2de4a77675c3464b1bc7f11 (diff)
downloadCMake-cffa899a47e83599bbe081c9f8070b7e35de1d58.zip
CMake-cffa899a47e83599bbe081c9f8070b7e35de1d58.tar.gz
CMake-cffa899a47e83599bbe081c9f8070b7e35de1d58.tar.bz2
docbook: Remove table of contents
When DocBook is transformed (eg. to PDF, HTML, ...), a TOC is generated from the document's layout. The TOC-like list that the docbook formatter used to generate was both redundant and invalid.
-rw-r--r--Source/cmDocumentationFormatterDocbook.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/Source/cmDocumentationFormatterDocbook.cxx b/Source/cmDocumentationFormatterDocbook.cxx
index eabdbc1..af32d38 100644
--- a/Source/cmDocumentationFormatterDocbook.cxx
+++ b/Source/cmDocumentationFormatterDocbook.cxx
@@ -129,24 +129,6 @@ void cmDocumentationFormatterDocbook
const std::vector<cmDocumentationEntry> &entries =
section.GetEntries();
- if (!entries.empty())
- {
- os << "<itemizedlist>\n";
- for(std::vector<cmDocumentationEntry>::const_iterator op
- = entries.begin(); op != entries.end(); ++ op )
- {
- if(op->Name.size())
- {
- os << " <listitem><link linkend=\"" << prefix << "_";
- cmDocumentationPrintDocbookEscapes(os, op->Name.c_str());
- os << "\"><emphasis><literal>";
- cmDocumentationPrintDocbookEscapes(os, op->Name.c_str());
- os << "</literal></emphasis></link></listitem>\n";
- }
- }
- os << "</itemizedlist>\n" ;
- }
-
for(std::vector<cmDocumentationEntry>::const_iterator op = entries.begin();
op != entries.end();)
{