diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2021-11-19 10:41:11 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-11-19 10:41:17 +0100 |
| commit | 1a9e3d581baa5094034c1d2b0106b3ed426f49f6 (patch) | |
| tree | d53c2c05cf49561364b3f796872385c373919eb7 | |
| parent | a777f01052161f0ea3b1344e605ac4222498395c (diff) | |
| download | redot-engine-1a9e3d581baa5094034c1d2b0106b3ed426f49f6.tar.gz | |
doc: Fix `make_rst.py` hyperlinks for theme items
Fixup to #55092.
| -rwxr-xr-x | doc/tools/make_rst.py | 2 |
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: |
