aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-06-22 19:08:42 -0400
committerDaniel Mensinger <daniel@mensinger-ka.de>2022-06-27 17:07:33 +0200
commitad0c70bac19e1ff6f4557c45ddf0fe5c87518481 (patch)
tree782ce77049ff9ea2593f7beb30cdb3af234f8af9 /mesonbuild/environment.py
parentc2c9359d466e545799aebaa2b6c6e353f5f5c833 (diff)
downloadmeson-ad0c70bac19e1ff6f4557c45ddf0fe5c87518481.zip
meson-ad0c70bac19e1ff6f4557c45ddf0fe5c87518481.tar.gz
meson-ad0c70bac19e1ff6f4557c45ddf0fe5c87518481.tar.bz2
docs: make the refman linkification slightly prettier for codeblocks
If we link to ```meson [[#function]]('posarg') ``` then the ideal linkification would operate on "function" in the formatted text: ``` function('posarg') ``` Instead, it operated on "function()" in the formatted text: ``` function()('posarg') ``` Fix this by detecting the next character after the reference, and skipping the usual "automatically append the () for you" stage if it already has that opening parenthesis.
Diffstat (limited to 'mesonbuild/environment.py')
0 files changed, 0 insertions, 0 deletions