1.. _foo:
2
3===
4Foo
5===
6
7.. figure:: rimg.png
8
9   should be Fig.1.1
10
11.. csv-table:: should be Table 1.1
12   :header-rows: 0
13
14   hello,world
15
16.. code-block:: python
17   :caption: should be List 1.1
18
19   print('hello world')
20
21.. _foo_a:
22
23Foo A
24=====
25
26.. figure:: rimg.png
27
28   should be Fig.1.2
29
30.. figure:: rimg.png
31
32   should be Fig.1.3
33
34.. csv-table:: should be Table 1.2
35   :header-rows: 0
36
37   hello,world
38
39.. csv-table:: should be Table 1.3
40   :header-rows: 0
41
42   hello,world
43
44.. code-block:: python
45   :caption: should be List 1.2
46
47   print('hello world')
48
49.. code-block:: python
50   :caption: should be List 1.3
51
52   print('hello world')
53
54.. _foo_a1:
55
56Foo A1
57------
58
59.. _foo_b:
60
61Foo B
62=====
63
64.. _foo_b1:
65
66Foo B1
67------
68
69.. figure:: rimg.png
70
71   should be Fig.1.4
72
73.. csv-table:: should be Table 1.4
74   :header-rows: 0
75
76   hello,world
77
78.. code-block:: python
79   :caption: should be List 1.4
80
81   print('hello world')
82