From dccd1a348c5f82241184db89d2d43cfd09b74b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 5 Jun 2023 19:08:12 +0200 Subject: doc: fix URLs to WeeChat docs --- doc/python_stub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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"] -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0