useblocks / sphinx-needs

Adds needs/requirements to sphinx
https://sphinx-needs.readthedocs.io/en/latest/index.html
MIT License
209 stars 66 forks source link

error when building latex #1288

Open brandtnerfabian opened 3 weeks ago

brandtnerfabian commented 3 weeks ago

was trying to build latex when i encountered this error: Extension error (sphinx_needs.needs): Handler <function process_creator.<locals>.process_caller at 0x000002941120CD60> for event 'doctree-resolved' threw an exception (exception: ('definitions/test_goal_definition', None))

test_goal_definition.rst:

:orphan:

.. testgoal:: Verification2

    Verification2

index.rst:

.. needextract::
    :types: testgoal

conf.py:


extensions = ["sphinx_needs"]

templates_path = ['_templates']
exclude_patterns = []

html_theme = 'alabaster'
html_static_path = ['_static']
needs_build_json = True

needs_id_length = 3
needs_types = [
 dict(directive="testgoal", title="Test Goal", prefix="TG_", color="#BFD8D2", style="node"),
 ]