From 1a9e3d581baa5094034c1d2b0106b3ed426f49f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 19 Nov 2021 10:41:11 +0100 Subject: [PATCH] doc: Fix `make_rst.py` hyperlinks for theme items Fixup to #55092. --- doc/tools/make_rst.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tools/make_rst.py b/doc/tools/make_rst.py index 0d88ce49989..b5e5cf8fa79 100755 --- a/doc/tools/make_rst.py +++ b/doc/tools/make_rst.py @@ -947,7 +947,7 @@ def rstize_text(text, state): # type: (str, State) -> str print_error( "Unresolved theme item '{}', file: {}".format(param, state.current_class), state ) - ref_type = "_theme_item" + ref_type = "_theme_{}".format(class_def.theme_items[method_param].data_name) elif cmd.startswith("signal"): if method_param not in class_def.signals: