doc: Fix `make_rst.py` hyperlinks for theme items

Fixup to #55092.
This commit is contained in:
Rémi Verschelde 2021-11-19 10:41:11 +01:00
parent a777f01052
commit 1a9e3d581b
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -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: