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

Build warning when trying to needextract entry with some table

Open adegroote opened this issue 2 years ago • 0 comments

Considering

FOO
=====

.. spec:: A spec with list stuff
   :id: LIST_STUFF

   .. list-table:: foo

        * - foo
          - bar
        * - buz
          - boo


.. toctree::

    foo.rst

and

========

.. needextract::
   :filter: id == "LIST_STUFF"

leads to the warning:

WARNING: Any IDs not assigned for table node

Unfortunately, our policy is no warning, so well, the whole document breaks.

Tested avec Sphinx 5.3.0 and sphinx-needs 1.2.2

adegroote avatar Mar 16 '23 09:03 adegroote