meson/docs/extensions
Eli Schwartz ad0c70bac1 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.
2022-06-27 17:07:33 +02:00
..
refman_links.py docs: make the refman linkification slightly prettier for codeblocks 2022-06-27 17:07:33 +02:00