Example#

This is a rendered example of the ‘examples/linking-both’ folder using the docs tool.

TestTitle
status: valid
safety: QM
status: valid
rationale: A simple requirement we need to enable a documentation build
reqtype: Functional
safety: QM

Some content to make sure we also can render this This is a link to an external need inside the ‘score’ documentation. SCORE_gd_req__req__attr_safety Note how it starts with the defined prefix but in UPPERCASE. This comes from sphinx-needs, see here

Some Title
status: invalid
security: YES
safety: ASIL_D
status: invalid
reqtype: Process
safety: ASIL_D
security: YES

With this requirement we can check if the removal of the prefix is working correctly. It should remove id_prefix (SCORE _) as it’s defined inside the BUILD file and remove it before it checks the leftover value against the allowed defined regex in the metamodel Note: The ID is different here as the ‘folder structure’ is as well