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.
This commit is contained in:
parent
ac25bc0135
commit
cffa899a47
|
@ -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();)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue