You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a need ID contains a dot (e.g., REQ_1.a), it's not possible to reference this need, for example using the :need: directive like :need:`REQ_1.a` .
This issue occurs because the function sphinx_needs.utils.split_need_id splits the provided ID at dots, which prevents proper referencing of IDs containing dots.
Description
When a need ID contains a dot (e.g.,
REQ_1.a
), it's not possible to reference this need, for example using the:need:
directive like:need:`REQ_1.a`
.This issue occurs because the function
sphinx_needs.utils.split_need_id
splits the provided ID at dots, which prevents proper referencing of IDs containing dots.Steps to reproduce
needs_id_regex
inconf.py
REQ_1.a
:need:`REQ_1.a`
.in rst
Possible solution
sphinx_needs.roles.need_ref.process_need_ref
to test theneed_id_full
if theneed_id_main
is not found.According to your answers, I can fix that with a pull request.
The text was updated successfully, but these errors were encountered: