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 (77 lines) | stat: -rw-r--r-- 1,243 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
TEST DOCUMENT NEEDEXTRACT
=========================

.. toctree::

   check_need_refs
   check_images
   subfolder/file_1.rst

.. spec:: Test needextract
   :id: SP_001
   :status: implemented
   :tags: test

   Test content for needextarct.

   :np:`This is a need part content.`

.. spec:: Test needextract 02
   :id: SP_002
   :status: open
   :tags: test2

   Test content for needextarct.

   :np:`(1)This is another need part content.`

.. story:: A story
   :id: US_001
   :status: open
   :tags: 1

.. story:: A complex content example
   :id: US_002

   Check if image gets copied as well.

   .. image:: _images/smile.png

.. story:: Absolute path example
   :id: US_003

   Use an absolut path for the image

   .. image:: /_images/smile.png


.. story:: Substitution Test
   :id: US_004

   Awesome |SN|

   .. image:: /_images/smile.png

.. needextract::
   :tags: test

.. needextract::
   :status: open
   :style: blue_border

.. needextract::
   :filter: id == "US_001"
   :layout: clean
   :style: green_border

.. needextract:: id == "US_001"
   :layout: clean
   :style: blue_border

.. needextract:: id == "SP_002"
   :layout: clean
   :style: green_border

.. needextract:: US_001
   :layout: clean
   :style: blue_border