File: file_1.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 (86 lines) | stat: -rw-r--r-- 1,485 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
78
79
80
81
82
83
84
85
86
.. _ref_internal:

subfolder file
==============

.. toctree::

    check_images_2

.. story:: Subfolder example with an absolute image
   :id: US_SUB_001

   Use an absolut path for the image

   .. image:: /_images/smile.png

   Path: ``/_images/smile.png``


.. story:: Subfolder example with a relative image
   :id: US_SUB_002

   Use a relative path for the image

   .. image:: ../_images/smile.png

   Path: ``../_images/smile.png``

.. story:: Subfolder example with image in same folder (indirect relative path)
   :id: US_SUB_003

   Use a relative path for the image

   .. image:: ../subfolder/smile.png

   Path: ``../subfolder/smile.png``

.. story:: Subfolder example with image in same folder (direct relative path)
   :id: US_SUB_004

   Use a relative path for the image

   .. image:: smile.png

   Path: ``smile.png``

.. story:: Subfolder example with image in same folder (absolute path)
   :id: US_SUB_005

   Use a absolute path for the image

   .. image:: /subfolder/smile.png

   Path: ``/subfolder/smile.png``

.. story:: Need references
   :id: US_SUB_REF_001

   Test ``:need:``.

   - :need:`US_001`
   - :need:`US_002`
   - :need:`US_SUB_004`

.. story:: Need download
   :id: US_SUB_REF_002

   :download:`smile.png`


.. story:: Need references internal
   :id: US_SUB_REF_003

   :ref:`ref_internal`

.. story:: Need references external
   :id: US_SUB_REF_004

   `test/me <test/me>`__

   `/test/me </test/me>`__

   `../test/me <../test/me>`__