Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👌 Improve need link tooltips #1189

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sphinx_needs/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ def meta_id(self) -> nodes.inline:
todocname=_docname,
targetid=self.need["id"],
child=nodes_id_text.deepcopy(),
title=self.need["id"],
title=None,
)
id_container += id_ref
return id_container
Expand Down
2 changes: 1 addition & 1 deletion sphinx_needs/roles/need_incoming.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def process_need_incoming(
_docname,
target_need["target_id"],
node_need_backref[0].deepcopy(),
node_need_backref["reftarget"],
target_need["title"],
)
else:
assert (
Expand Down
2 changes: 1 addition & 1 deletion sphinx_needs/roles/need_outgoing.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def process_need_outgoing(
_docname,
target_id,
node_need_ref[0].deepcopy(),
node_need_ref["reftarget"],
target_need["title"],
)
else:
assert (
Expand Down
Loading