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:
+1
-1
@@ -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"]}
|
||||
|
||||
Reference in New Issue
Block a user