Commit Graph

2 Commits

Author SHA1 Message Date
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
Daniel Mensinger 5dd8171fb3
docs: Use a custom hotdoc extension for links to RefMan 2021-10-03 12:19:45 +02:00