Support contents in needextend
See original GitHub issueneedextend
currently supports add/append/removal of needs_extra_options and needs_extra_links. How about allowing to extend the contents part?
.. needextend:: SW_REQ_001
:+derives: SYS_REQ_001
This is extended content
needextend
contents could be configured as pre, post or overwrite.
This allows to import just the meta-information as needs from external tools and then add textual content in rST.
Is this feasible?
Issue Analytics
- State:
- Created a year ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Sphinx-Needs 1.1.0 documentation - needextend
needextend allows to modify existing needs. It doesn't provide any output, as the modifications get presented at the original location of the changing...
Read more >SPVirtualServerState Enum (Microsoft.SharePoint.Administration ...
Learn more about the Microsoft.SharePoint.Administration.SPVirtualServerState in the Microsoft.SharePoint.Administration namespace.
Read more >Plan Creo Parametric Support Strategy | Creo Parametric | PTC
The goal of go-live support is to have the short-term support team quickly address any issues that come up when end users begin...
Read more >With American Rescue Plan Now Signed into Law, Senator ...
“This landmark legislation will issue another round of direct cash payments to families in need, extend critically needed pandemic ...
Read more >Issues · useblocks/sphinx-needs - GitHub
needextend does not work with filter string ... l_foucs: content allignment not stable/left ... needs.json shall contain/support images and co.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Agree, a check would be good.
Currently, manipulations get also stored and needs are filterable based on them: https://sphinx-needs.readthedocs.io/en/latest/directives/needextend.html#monitoring-modifications
But this counter is not based on specific options or the content. Maybe a feature request to extend this mechanism would be helpful.
Maybe it is doable on doctree-level, if the needextend-content can only be used to add (pre or post) or replace need-content (as you have written). Then we could render the rst in the needextend-directive, when this directive gets read. And later we do some direct doctree-manipulations, where we add or replace the needextend-content-node to/with the need-content-node. After that, we delete the needextend-node from the doctree.
So yes, it sounds doable 😃