summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib/testRST.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Fix CMakeLib.testRST for relative __FILE__Brad King2014-06-061-2/+7
| | | | | Pass the test input directory as a runtime argument instead of depending on __FILE__ to locate it.
* Add class cmRST to do basic reStructuredText processingBrad King2013-10-161-0/+96
Create a cmRST class to perform just enough reStructuredText processing to support display of Help documents in human-readable text format. This will be used to implement --help-* command-line options. Support directives "include", "replace", "parsed-literal", "toctree" (Sphinx), and "cmake-module" (CMake Sphinx Extension to scan .cmake modules). Support inline CMake Sphinx Domain roles to convert cross-references to corresponding title text. Support inline substitutions defined by the "replace" directive, but keep it simple by requiring replacements to be defined before use. Add a CMakeLib "testRST" case to cover processing of supported constructs and compare results against expected output.