useblocks / sphinx-needs-vscode

https://sphinx-needs-vscode.useblocks.com
MIT License
3 stars 2 forks source link

SN-objects from list #6

Closed danwos closed 1 year ago

danwos commented 1 year ago

I often use nested lists to define and discuss some content. Like a tool->feature->error list:

When everything is discussed, this list gets transformed by hand to Sphinx-Needs objects. This is an annoying and stupid task, which could get automated.

So the VS-Code extension should be able to take such a list and create the related rst/md code for me. Example:

.. tool:: Sphinx
   :id: SPHINX

   .. feature:: Build HTML
      :id: SOME_HASH_1

      .. error:: Directive not found
         :id: SOME_HASH_2
         :links: SOME_HASH_1

So also some configuration is needed:

danwos commented 1 year ago

This is already done by list2needs.

No need to support is also int the VsCod extension