diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-07-21 21:52:59 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-07-21 21:52:59 (GMT) |
commit | 4175b514fc65cd452fbf1f62bd5c0c494568e9fd (patch) | |
tree | 6e726407fc166a557beb0726a315ccedf0d066cb /Source/cmDocumentationFormatter.cxx | |
parent | 76878d928e66a1ce850beba7d9d114f46ee1d549 (diff) | |
download | CMake-4175b514fc65cd452fbf1f62bd5c0c494568e9fd.zip CMake-4175b514fc65cd452fbf1f62bd5c0c494568e9fd.tar.gz CMake-4175b514fc65cd452fbf1f62bd5c0c494568e9fd.tar.bz2 |
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 9c63323..9718047 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 |