summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-19 12:23:27 +0100
committerGitHub <noreply@github.com>2021-11-19 12:23:27 +0100
commit42f8bfaff0dc5a94ca351b1eaadc42cb95655b87 (patch)
tree9f960cab609b588eeca0bb2831085989ca99cee8
parentb452005c5cd7d4f281a288dfdcde4be2d3df4f6e (diff)
parent1a9e3d581baa5094034c1d2b0106b3ed426f49f6 (diff)
Merge pull request #55114 from akien-mga/doc-makerst-theme_items
-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: