diff --git a/doc/classes/SpinBox.xml b/doc/classes/SpinBox.xml
index c5a39741c6f..ff1bfe1cd84 100644
--- a/doc/classes/SpinBox.xml
+++ b/doc/classes/SpinBox.xml
@@ -51,7 +51,7 @@
If not [code]0[/code], sets the step when interacting with the arrow buttons of the [SpinBox].
- [b]Note:[/b] [member Range.value] will still be rounded to a multiple of [member step].
+ [b]Note:[/b] [member Range.value] will still be rounded to a multiple of [member Range.step].
If [code]true[/code], the [SpinBox] will be editable. Otherwise, it will be read only.
diff --git a/doc/tools/make_rst.py b/doc/tools/make_rst.py
index 56fbfec592b..1b2b3e2afa4 100755
--- a/doc/tools/make_rst.py
+++ b/doc/tools/make_rst.py
@@ -2151,6 +2151,12 @@ def format_text_block(
state,
)
+ elif class_def.properties[target_name].overrides is not None:
+ print_error(
+ f'{state.current_class}.xml: Invalid member reference "{link_target}" in {context_name}. The reference must point to the original definition, not to the override.',
+ state,
+ )
+
elif tag_state.name == "signal" and target_name not in class_def.signals:
print_error(
f'{state.current_class}.xml: Unresolved signal reference "{link_target}" in {context_name}.',