mirror of
https://github.com/reactos/CMake.git
synced 2024-12-03 17:11:04 +00:00
2945814de2
When scanning CMake module files for .rst comments, recognize bracket comments starting in ".rst:" too. For example: #[[.rst: Include the bracket comment content terminated by the closing bracket. Exclude the line containing the bracket if it starts in "#". Teach the CMakeLib.testRST test to cover multiple bracket lengths and ending brackets on lines with and without "#". Update the cmake-developer.7 manual to document the bracket-comment syntax for .rst documentation.
12 lines
207 B
CMake
12 lines
207 B
CMake
#.rst:
|
|
# CMake Module Content
|
|
#.rst:
|
|
# More CMake Module Content
|
|
#[[.rst:
|
|
Bracket Comment Content
|
|
# not part of content]] # not part of content
|
|
#[=[.rst:
|
|
[
|
|
Bracket Comment Content
|
|
]]=] # not part of content
|