-
Notifications
You must be signed in to change notification settings - Fork 81
Description
We have a usecase where we import information from an external tool and automatically create need objects for the imported elements. Just like with needimport, the imported elements are then linked from other existing needs or extended using needextend or by adding textual contents around a needextract in different rST pages.
For example,
import-page.rst:
.. needimport::
:filter: type == 'tool-element'
another-page.rst:
.. needextend:: TOOL_ELEMENT_01
:+implements: REQ_SW_01
.. needextract::
:filter: "TOOL_ELEMENT_01" in id
By default, when the imported elements are linked in this way, the HTML navigation always points to the page where the needs are imported (which is a page with a large number of imported elements). It would be nice to have a feature where a needextract or needextend can be declared as the link target for a need and not the original (imported) need.
This helps to navigate to the need which has more details than the "raw" imported ones.
Points to consider
needextractorneedextendcould filter multiple elements. How to make sure target links are created for single elementsneedextractcould extract the same need in multiple pages. How to mark only a singleneedextractas target link