Skip to content

Commit

Permalink
changing to shorter link with tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbrock committed Jun 15, 2023
1 parent 124b41e commit 8351366
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev_tools/docs/nxdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""

0 comments on commit 8351366

Please sign in to comment.