summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-06-05 19:08:12 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-06-05 19:08:12 +0200
commitdccd1a348c5f82241184db89d2d43cfd09b74b23 (patch)
treeedf235c175236c3662e392ee64c1a8dedf63006c /doc
parentab9b8e0b01f4c2b3eb9c2a67562ced51a469f8ba (diff)
downloadweechat-dccd1a348c5f82241184db89d2d43cfd09b74b23.zip
doc: fix URLs to WeeChat docs
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/python_stub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_stub.py b/doc/python_stub.py
index d68212667..f37eddbe8 100755
--- a/doc/python_stub.py
+++ b/doc/python_stub.py
@@ -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"]