Debian Codegraph @

tests/roots/test-intl/label_target.txt

raw
1 :tocdepth: 2
2
3 .. _implicit-target:
4
5 section and label
6 ==================
7
8 .. This section's label and section title are different.
9 .. This case, the section have 2 target id.
10
11 :ref:`implicit-target` point to ``implicit-target`` and
12 `section and label`_ point to ``section-and-label``.
13
14
15 .. _explicit-target:
16
17 explicit-target
18 ================
19
20 .. This section's label equals to section title.
21 .. This case, a duplicated target id is generated by docutils.
22
23 :ref:`explicit-target` point to ``explicit-target`` and
24 `explicit-target`_ point to duplicated id like ``id1``.
25
26
27 implicit section name
28 ======================
29
30 .. This section have no label.
31 .. This case, the section have one id.
32
33 `implicit section name`_ point to ``implicit-section-name``.
34
35 duplicated sub section
36 ------------------------
37
38 .. This section have no label, but name will be duplicated by next section.
39 .. This case, the section have one id.
40
41 `duplicated sub section`_ is broken link.
42
43 .. There is no way to link to this section's ``duplicated-sub-section``` by
44 .. using formal reStructuredText markup.
45
46 duplicated sub section
47 ------------------------
48
49 .. This section have no label, but the section was a duplicate name.
50 .. This case, a duplicated target id is generated by docutils.
51
52 .. There is no way to link to this section's duplicated id like ``id2`` by
53 .. using formal reStructuredText markup.
54
55
56 .. _bridge label: `label bridged target section`_
57 .. _bridge label2: `section and label`_
58
59 label bridged target section
60 =============================
61
62 .. This section is targeted through label definition.
63
64 `bridge label`_ is not translatable but linked to translated section title.
65
66 `bridge label2`_ point to ``section and label`` and `bridge label`_ point to ``label bridged target section``. The second appeared `bridge label2`_ point to correct target.
67