diff options
author | Brad King <brad.king@kitware.com> | 2023-03-14 18:27:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-14 18:33:02 (GMT) |
commit | c8679f05715380ce253bb65e64763b68dd96ad35 (patch) | |
tree | 003fc0471f593a76b37481f18c34ae41bbe589cd /Modules/FindMsys.cmake | |
parent | 797141606e838a2cfb79e0d079451484a3e2a750 (diff) | |
download | CMake-c8679f05715380ce253bb65e64763b68dd96ad35.zip CMake-c8679f05715380ce253bb65e64763b68dd96ad35.tar.gz CMake-c8679f05715380ce253bb65e64763b68dd96ad35.tar.bz2 |
Utilities/Sphinx: Restore trailing parens on command cross-references
Since commit cc21d0e478 (Utilities/Sphinx: Make signatures linkable,
2023-03-09) we always convert `cmake:command` domain cross-references to
use the explicit `text <text>` form. This breaks the XRefRole's
`fix_parens` setting that we use to render `cmd` as `cmd()`.
Instead, transform `cmd(sub)` to `cmd(sub) <cmd(sub)>` to preserve
the sub-command link destination, but leave `cmd` alone and let
XRefRole convert it to `cmd()`.
Diffstat (limited to 'Modules/FindMsys.cmake')
0 files changed, 0 insertions, 0 deletions