1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 13:26:38 +02:00

doc: fix URLs to WeeChat docs

This commit is contained in:
Sébastien Helleu
2023-06-05 19:08:12 +02:00
parent ab9b8e0b01
commit dccd1a348c
7 changed files with 264 additions and 264 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ def print_stub_functions() -> None:
encoding="utf-8") as api_doc_file:
api_doc = api_doc_file.read()
for match in function_pattern.finditer(api_doc):
url = f'https://weechat.org/doc/api/#_{match["function"]}'
url = f'https://weechat.org/doc/weechat/api/#_{match["function"]}'
example = (
f'\n ::\n\n{indent(match["example"].lstrip(), " " * 8)}'
if match["example"]