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

doc: add trailing slashes in URLs

This commit is contained in:
Sébastien Helleu
2022-06-18 16:03:38 +02:00
parent b8ef7e2f65
commit 8ac67ff540
72 changed files with 433 additions and 433 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ def print_stub_functions() -> None:
with open(DOC_DIR / "weechat_plugin_api.en.adoc") 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/api/#_{match["function"]}'
print(
f"""\n
def {match["function"]}{match["args"]}{match["return"]}