mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Test references to figures and tables by caption.
This commit is contained in:
parent
0f7072f028
commit
57c438be4f
@ -122,6 +122,8 @@ Inline markup
|
||||
* :token:`try statement <try_stmt>`
|
||||
* :ref:`admonition-section`
|
||||
* :ref:`here <some-label>`
|
||||
* :ref:`my-figure`
|
||||
* :ref:`my-table`
|
||||
* :doc:`subdir/includes`
|
||||
* ``:download:`` is tested in includes.txt
|
||||
* :option:`Python -c option <python -c>`
|
||||
@ -142,6 +144,8 @@ Tables
|
||||
|
||||
.. tabularcolumns:: |L|p{5cm}|R|
|
||||
|
||||
.. table:: my table
|
||||
|
||||
+----+----------------+----+
|
||||
| 1 | * Block elems | x |
|
||||
| | * In table | |
|
||||
@ -150,6 +154,16 @@ Tables
|
||||
+----+----------------+----+
|
||||
|
||||
|
||||
Figures
|
||||
-------
|
||||
|
||||
.. _my-figure:
|
||||
|
||||
.. figure:: img.png
|
||||
|
||||
My caption of the figure
|
||||
|
||||
|
||||
Version markup
|
||||
--------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user