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

Table needs id

Open danwos opened this issue 3 years ago • 3 comments

sphinxcontrib-needs/docs/directives/needtable.rst:4: WARNING: Any IDs not assigned for table node

With version 0.7.4 normal tables get wrapped inside a container/div. In this case the generated docutils id goes to the container and not to the table.

This seems to make problems. Maybe we should just generate a dummy-id or set an id.

danwos avatar Dec 01 '21 16:12 danwos

I see the same WARNING. Does this have any impact or is it safe to ignore?

arwedus avatar Dec 21 '21 20:12 arwedus

It should be safe to ignore. Table Ids are not needed by sphinx-needs. Only docutils asks for it.

danwos avatar Dec 21 '21 20:12 danwos

btw.: The warning happens when you add a title to the needtable. Without a title, there's no warning.

arwedus avatar Dec 21 '21 21:12 arwedus