diff options
author | Brad King <brad.king@kitware.com> | 2013-10-29 20:18:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-30 14:26:29 (GMT) |
commit | 450b515ad0e94155061e3a9d43fcbab53bf7ac80 (patch) | |
tree | 58c6a7d30990ea5bef642fab16e7eaef9cedba34 /Tests/CMakeLib | |
parent | 6e900fbe6970981f8c73500581df99fa6b955fa1 (diff) | |
download | CMake-450b515ad0e94155061e3a9d43fcbab53bf7ac80.zip CMake-450b515ad0e94155061e3a9d43fcbab53bf7ac80.tar.gz CMake-450b515ad0e94155061e3a9d43fcbab53bf7ac80.tar.bz2 |
cmRST: Add support for the note and productionlist directives
Simply print out the lines as normal paragraph text. Teach the
CMakeLib.testRST test to cover this syntax. Update the
cmake-developer.7 manual to document support for the directives.
Diffstat (limited to 'Tests/CMakeLib')
-rw-r--r-- | Tests/CMakeLib/testRST.expect | 7 | ||||
-rw-r--r-- | Tests/CMakeLib/testRST.rst | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Tests/CMakeLib/testRST.expect b/Tests/CMakeLib/testRST.expect index 744cb88..fa436cb 100644 --- a/Tests/CMakeLib/testRST.expect +++ b/Tests/CMakeLib/testRST.expect @@ -76,6 +76,13 @@ or after a paragraph ending in two colons:: but not after a line ending in two colons:: in the middle of a paragraph. +.. productionlist:: + grammar: `production` + production: "content rendered" + +.. note:: + Notes are called out. + substituted text with multiple lines becomes one line End of first include. diff --git a/Tests/CMakeLib/testRST.rst b/Tests/CMakeLib/testRST.rst index 5cb6d91..54952dd 100644 --- a/Tests/CMakeLib/testRST.rst +++ b/Tests/CMakeLib/testRST.rst @@ -83,6 +83,13 @@ or after a paragraph ending in two colons:: but not after a line ending in two colons:: in the middle of a paragraph. +.. productionlist:: + grammar: `production` + production: "content rendered" + +.. note:: + Notes are called out. + .. |substitution| replace:: |nested substitution| with multiple lines becomes one line |