summaryrefslogtreecommitdiff
path: root/doc/tools
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-11-19 10:41:11 +0100
committerRémi Verschelde <rverschelde@gmail.com>2021-11-19 10:41:17 +0100
commit1a9e3d581baa5094034c1d2b0106b3ed426f49f6 (patch)
treed53c2c05cf49561364b3f796872385c373919eb7 /doc/tools
parenta777f01052161f0ea3b1344e605ac4222498395c (diff)
doc: Fix `make_rst.py` hyperlinks for theme items
Fixup to #55092.
Diffstat (limited to 'doc/tools')
-rwxr-xr-xdoc/tools/make_rst.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tools/make_rst.py b/doc/tools/make_rst.py
index 0d88ce4998..b5e5cf8fa7 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: