summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-numfig/bar.rst
blob: c4367c5b85e03b65a24d30e91740d64c3cca469f (plain)
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
.. _bar:

===
Bar
===

.. _bar_a:

Bar A
=====

.. figure:: rimg.png

   should be Fig.2.1

.. csv-table:: should be Table 2.1
   :header-rows: 0

   hello,world

.. code-block:: python
   :caption: should be List 2.1

   print('hello world')

.. toctree::

   baz

.. figure:: rimg.png

   should be Fig.2.3

.. csv-table:: should be Table 2.3
   :header-rows: 0

   hello,world

.. code-block:: python
   :caption: should be List 2.3

   print('hello world')

.. _bar_b:

Bar B
=====

.. _bar_b1:

Bar B1
------

.. figure:: rimg.png

   should be Fig.2.4

.. csv-table:: should be Table 2.4
   :header-rows: 0

   hello,world

.. code-block:: python
   :caption: should be List 2.4

   print('hello world')