Skip to content

Commit

Permalink
add note_dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Sep 13, 2024
1 parent 58c703c commit fcf40f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sphinx_needs/directives/needimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ def run(self) -> Sequence[nodes.Node]:
needs_config.import_cache_size,
)

self.env.note_dependency(correct_need_import_path)

if version is None:
try:
version = needs_import_list["current_version"]
Expand Down

0 comments on commit fcf40f8

Please sign in to comment.