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 (27 lines) | stat: -rw-r--r-- 665 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
TEST DOCUMENT NEEDUML JINJA FUNCTION REF 
========================================

.. story:: Test story
   :id: ST_001

   Some content

   :np:`(np_id) np_content`

.. story:: Another story
   :id: ST_002

   Different content content

.. int:: Test needuml jinja func ref
   :id: INT_001

   .. needuml::

      DC -> Marvel: {{ref("ST_001", option="title")}}
      Marvel --> DC: {{ref("ST_002", text="Different text to explain the story")}}

      DC -> Marvel: {{ref("ST_001.np_id", option="id")}}
      Marvel --> DC: {{ref("ST_001.np_id", option="content")}}
      
      DC -> Marvel: {{ref("ST_001.np_id", text="Different text to explain the story 2")}}