sphinx-needs icon indicating copy to clipboard operation
sphinx-needs copied to clipboard

needflows: Child needs as "part of parent-needs

Open danwos opened this issue 3 years ago • 1 comments

Like need-parts, also child-needs should be included inside their parent-needs for needflows.

Example of need-part integration: image

Maybe an option would be good, to define the parent-needs which are using this mechanism, maybe by filter-string.

https://sphinx-needs.readthedocs.io/en/latest/directives/needflow.html

Example:

.. req: ABC

   .. req: DEF
   
      .. spec:: Solving ABC and DEF
      
      
      .. test:: Test case for ABC and DEF 

Image should be:

ABC[DEF[SPEC + TEST ]] as image ;)

Output example: image

danwos avatar Sep 28 '22 10:09 danwos

How shall the config parameter be named? Is the default behaviour to render the child needs inside or shall the default behaviour be the other way around?

PhilipPartsch avatar Nov 19 '22 16:11 PhilipPartsch