diff options
author | Brad King <brad.king@kitware.com> | 2018-05-03 18:34:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-05-04 11:52:14 (GMT) |
commit | 828e18bb3eadaff9bbe8b1ddf57b68cf40e0eafb (patch) | |
tree | 5727c6cd1ca662c7c5e8dc2e24abe1d1a47b749a /Tests/CMakeLib | |
parent | f1aedbf99acf21bbe9f2d766be8d159bd397cc89 (diff) | |
download | CMake-828e18bb3eadaff9bbe8b1ddf57b68cf40e0eafb.zip CMake-828e18bb3eadaff9bbe8b1ddf57b68cf40e0eafb.tar.gz CMake-828e18bb3eadaff9bbe8b1ddf57b68cf40e0eafb.tar.bz2 |
cmRST: Add support for 'envvar' cmake domain role
This was accidentally left out of commit 8acf46caf1 (Utilities/Sphinx:
Add role and directive for 'envvar' in CMake domain, 2018-04-19).
Diffstat (limited to 'Tests/CMakeLib')
-rw-r--r-- | Tests/CMakeLib/testRST.expect | 2 | ||||
-rw-r--r-- | Tests/CMakeLib/testRST.rst | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CMakeLib/testRST.expect b/Tests/CMakeLib/testRST.expect index fa436cb..4b29762 100644 --- a/Tests/CMakeLib/testRST.expect +++ b/Tests/CMakeLib/testRST.expect @@ -16,6 +16,8 @@ Variable ``<PLACEHOLDER>_VARIABLE`` with leading placeholder. Variable ``VARIABLE_<PLACEHOLDER>`` with trailing placeholder. Variable ``<PLACEHOLDER>_VARIABLE`` with leading placeholder and target. Variable ``VARIABLE_<PLACEHOLDER>`` with trailing placeholder and target. +Environment variable ``SOME_ENV_VAR``. +Environment variable ``some env var`` with space and target. Generator ``Some Generator`` with space. First TOC entry. diff --git a/Tests/CMakeLib/testRST.rst b/Tests/CMakeLib/testRST.rst index 54952dd..9cd7257 100644 --- a/Tests/CMakeLib/testRST.rst +++ b/Tests/CMakeLib/testRST.rst @@ -23,6 +23,8 @@ Variable :variable:`<PLACEHOLDER>_VARIABLE` with leading placeholder. Variable :variable:`VARIABLE_<PLACEHOLDER>` with trailing placeholder. Variable :variable:`<PLACEHOLDER>_VARIABLE <target>` with leading placeholder and target. Variable :variable:`VARIABLE_<PLACEHOLDER> <target>` with trailing placeholder and target. +Environment variable :envvar:`SOME_ENV_VAR`. +Environment variable :envvar:`some env var <SOME_ENV_VAR>` with space and target. Generator :generator:`Some Generator` with space. .. |not replaced| replace:: not replaced through toctree |