diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-10-24 15:36:47 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-10-24 15:36:47 (GMT) |
commit | c2f0aac146f6b990940240891b959dc1f394e80c (patch) | |
tree | eeda2906ff2af93817dd86f95648e78d90fde45d /Source/cmDocumentation.h | |
parent | 328615716c97531b7ccdb2b35679fe828ed27e0c (diff) | |
download | CMake-c2f0aac146f6b990940240891b959dc1f394e80c.zip CMake-c2f0aac146f6b990940240891b959dc1f394e80c.tar.gz CMake-c2f0aac146f6b990940240891b959dc1f394e80c.tar.bz2 |
ENH: some more cleanup, fixes, and patch for HTML output
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r-- | Source/cmDocumentation.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h index 99000ee..7974ace 100644 --- a/Source/cmDocumentation.h +++ b/Source/cmDocumentation.h @@ -76,10 +76,16 @@ public: /** Add the documentation to the beginning/end of the section */ void PrependSection(const char *sectionName, const char *docs[][3]); + void PrependSection(const char *sectionName, + std::vector<cmDocumentationEntry> &docs); + void PrependSection(const char *sectionName, + cmDocumentationEntry &docs); void AppendSection(const char *sectionName, const char *docs[][3]); void AppendSection(const char *sectionName, std::vector<cmDocumentationEntry> &docs); + void AppendSection(const char *sectionName, + cmDocumentationEntry &docs); /** * Print documentation in the given form. All previously added @@ -131,11 +137,13 @@ private: bool PrintDocumentationSingle(std::ostream& os); bool PrintDocumentationSingleModule(std::ostream& os); bool PrintDocumentationSingleProperty(std::ostream& os); + bool PrintDocumentationSingleVariable(std::ostream& os); bool PrintDocumentationUsage(std::ostream& os); bool PrintDocumentationFull(std::ostream& os); bool PrintDocumentationModules(std::ostream& os); bool PrintDocumentationCustomModules(std::ostream& os); bool PrintDocumentationProperties(std::ostream& os); + bool PrintDocumentationVariables(std::ostream& os); bool PrintDocumentationCurrentCommands(std::ostream& os); bool PrintDocumentationCompatCommands(std::ostream& os); void PrintDocumentationCommand(std::ostream& os, @@ -171,7 +179,9 @@ private: cmDocumentationFormatterMan ManFormatter; cmDocumentationFormatterText TextFormatter; cmDocumentationFormatterUsage UsageFormatter; - + + std::vector<std::string> PropertySections; + std::vector<std::string> VariableSections; }; #endif |