diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-07-21 17:52:59 -0400 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-07-21 17:52:59 -0400 |
commit | 4175b514fc65cd452fbf1f62bd5c0c494568e9fd (patch) | |
tree | 6e726407fc166a557beb0726a315ccedf0d066cb /Source/cmDocumentationFormatter.cxx | |
parent | 76878d928e66a1ce850beba7d9d114f46ee1d549 (diff) | |
download | cmake-4175b514fc65cd452fbf1f62bd5c0c494568e9fd.tar.gz |
ENH: handle HTML documentation for single items better: no warning about
ComputeSectionLinkPrefix, don't create an index for only one item
Alex
Diffstat (limited to 'Source/cmDocumentationFormatter.cxx')
-rw-r--r-- | Source/cmDocumentationFormatter.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmDocumentationFormatter.cxx b/Source/cmDocumentationFormatter.cxx index 9c633232c0..97180476f9 100644 --- a/Source/cmDocumentationFormatter.cxx +++ b/Source/cmDocumentationFormatter.cxx @@ -146,6 +146,10 @@ cmDocumentationFormatter::ComputeSectionLinkPrefix(std::string const& name) { return "see"; } + else if(name.find("SingleItem") != name.npos) + { + return "single_item"; + } else { std::cerr |