diff options
author | Brad King <brad.king@kitware.com> | 2017-02-10 14:55:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-10 15:43:30 (GMT) |
commit | 30abf145fd48f50c26ee7553fd2512e59be97f25 (patch) | |
tree | c81d6e73ce733dc7043f773e426b6ed4bee073d5 /Help/command | |
parent | 97917900d146acd55a7e453f477c52cd2e816eb3 (diff) | |
download | CMake-30abf145fd48f50c26ee7553fd2512e59be97f25.zip CMake-30abf145fd48f50c26ee7553fd2512e59be97f25.tar.gz CMake-30abf145fd48f50c26ee7553fd2512e59be97f25.tar.bz2 |
Help: Fix cmake code block warnings produced by Sphinx 1.4
Some of our "cmake" code blocks do not use fully valid CMake syntax
because they have placeholders for human reference. Sphinx has
never been able to properly lex and highlight these, but now warns.
Fix each block's syntax or change to a non-cmake block as appropriate.
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/if.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/command/if.rst b/Help/command/if.rst index 0941029..2a087d0 100644 --- a/Help/command/if.rst +++ b/Help/command/if.rst @@ -9,17 +9,17 @@ Conditionally execute a group of commands. # then section. COMMAND1(ARGS ...) COMMAND2(ARGS ...) - ... + #... elseif(expression2) # elseif section. COMMAND1(ARGS ...) COMMAND2(ARGS ...) - ... + #... else(expression) # else section. COMMAND1(ARGS ...) COMMAND2(ARGS ...) - ... + #... endif(expression) Evaluates the given expression. If the result is true, the commands |