File: spec_template.need

package info (click to toggle)
sphinx-needs 5.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,924 kB
  • sloc: python: 21,132; javascript: 187; makefile: 89; sh: 29; xml: 10
file content (23 lines) | stat: -rw-r--r-- 538 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{# Comment, no output here #}
A line before the content

{# Place the original content here #}
{{content}}

{# Use {{..}} to access need values #}
Status: **{{status}}**

Template: **{{template}}.need**

{# You can also loop over need values #}
Tags:
{% for tag in tags %}
{{loop.index}}. tag: **{{tag}}**
{% endfor %}

{# Access to values from other needs can be done #}
{# by using dynamic_functions #}
Links:
{% for link in links %}
| **{{link}}**: :ndf:`copy('title', '{{link}}')` (:ndf:`copy('type_name', '{{link}}')`)
{%- endfor %}