tests/roots/test-latex-labels/index.rst
raw| 1 | latex-labels |
| 2 | ============ |
| 3 | |
| 4 | figures |
| 5 | ------- |
| 6 | |
| 7 | .. _figure1: |
| 8 | .. _figure2: |
| 9 | |
| 10 | .. figure:: logo.jpg |
| 11 | |
| 12 | labeled figure |
| 13 | |
| 14 | .. figure:: logo.jpg |
| 15 | :name: figure3 |
| 16 | |
| 17 | labeled figure |
| 18 | |
| 19 | with a legend |
| 20 | |
| 21 | code-blocks |
| 22 | ----------- |
| 23 | |
| 24 | .. _codeblock1: |
| 25 | .. _codeblock2: |
| 26 | |
| 27 | .. code-block:: none |
| 28 | |
| 29 | blah blah blah |
| 30 | |
| 31 | .. code-block:: none |
| 32 | :name: codeblock3 |
| 33 | |
| 34 | blah blah blah |
| 35 | |
| 36 | tables |
| 37 | ------ |
| 38 | |
| 39 | .. _table1: |
| 40 | .. _table2: |
| 41 | |
| 42 | .. table:: table caption |
| 43 | |
| 44 | ==== ==== |
| 45 | head head |
| 46 | cell cell |
| 47 | ==== ==== |
| 48 | |
| 49 | .. table:: table caption |
| 50 | :name: table3 |
| 51 | |
| 52 | ==== ==== |
| 53 | head head |
| 54 | cell cell |
| 55 | ==== ==== |
| 56 | |
| 57 | .. _section1: |
| 58 | .. _section2: |
| 59 | |
| 60 | subsection |
| 61 | ---------- |
| 62 | |
| 63 | .. _section3: |
| 64 | |
| 65 | subsubsection |
| 66 | ~~~~~~~~~~~~~ |
| 67 | |
| 68 | .. toctree:: |
| 69 | |
| 70 | otherdoc |
| 71 | |
| 72 | * Named hyperlink reference with embedded alias reference: `subsection <section1_>`_. |
| 73 | |
| 74 | .. See: https://github.com/sphinx-doc/sphinx/issues/5948 |