diff --git a/dev_tools/docs/nxdl.py b/dev_tools/docs/nxdl.py index fedfe02785..6c7b092337 100644 --- a/dev_tools/docs/nxdl.py +++ b/dev_tools/docs/nxdl.py @@ -672,6 +672,7 @@ def get_first_parent_ref(self, path, tag): + parent_path[pos_of_right_slash + 1 :] ) return ( - f":ref:`<{parent_display_name}> <{parent_def_name}{parent_path}-{tag}>`" + f"<:abbr:`parent (parent definition: {parent_def_name[1:]}" + + f"/{parent_path_segments[-1]})`:ref:`🔗 <{parent_def_name}{parent_path}-{tag}>`>" ) return ""