File: index.rst

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 (55 lines) | stat: -rw-r--r-- 1,194 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Need Jinja Content Option
=========================

.. req:: First Req Need
   :id: JINJAID123
   :jinja_content: false

   Need with ``:jinja_content:`` equal to ``false``.

   .. impl:: Jinja Content Not Implemented
      :id: JINJAID124
      :status: open
      :tags: user

      Need with ``:jinja_content:`` option not set.

   .. spec:: Nested Spec Need
      :id: JINJAID125
      :status: open
      :tags: user;login
      :links: JINJAID126
      :jinja_content: true

      Nested need with ``:jinja_content:`` option set to ``true``.
      This requirement has tags: **{{ tags | join(', ') }}**.

      It links to:
      {% for link in links %}
      - {{ link }}
      {% endfor %}


.. spec:: First Spec Need
   :id: JINJAID126
   :status: open
   :jinja_content: true

   Need with ``:jinja_content:`` equal to ``true``.
   This requirement has status: **{{ status }}**.


{% raw -%}

.. req:: Need with jinja_content enabled
   :id: JINJA1D8913
   :jinja_content: true

   Need with alias {{ custom_data_1 }} and ``jinja_content`` option set to {{ custom_data_3 }}.

   {{ custom_data_2 }}
   {% for person in custom_data_4 %}
   * {{ person }}
   {% endfor %}

{% endraw %}