| 1 |
=============== |
| 2 |
test-footenotes |
| 3 |
=============== |
| 4 |
|
| 5 |
.. toctree:: |
| 6 |
|
| 7 |
bar |
| 8 |
baz |
| 9 |
|
| 10 |
.. contents:: |
| 11 |
:local: |
| 12 |
|
| 13 |
The section with a reference to [AuthorYear]_ |
| 14 |
============================================= |
| 15 |
|
| 16 |
.. figure:: rimg.png |
| 17 |
|
| 18 |
This is the figure caption with a reference to [AuthorYear]_. |
| 19 |
|
| 20 |
.. list-table:: The table title with a reference to [AuthorYear]_ |
| 21 |
:header-rows: 1 |
| 22 |
|
| 23 |
* - Header1 |
| 24 |
- Header2 |
| 25 |
* - Content |
| 26 |
- Content |
| 27 |
|
| 28 |
.. rubric:: The rubric title with a reference to [AuthorYear]_ |
| 29 |
|
| 30 |
.. [#] First |
| 31 |
|
| 32 |
* First footnote: [#]_ |
| 33 |
* Second footnote: [1]_ |
| 34 |
* `Sphinx <https://sphinx-doc.org/>`_ |
| 35 |
* Third footnote: [#]_ |
| 36 |
* Fourth footnote: [#named]_ |
| 37 |
* `URL including tilde <https://sphinx-doc.org/~test/>`_ |
| 38 |
* GitHub Page: `https://github.com/sphinx-doc/sphinx <https://github.com/sphinx-doc/sphinx>`_ |
| 39 |
* Mailing list: `[email protected] <mailto:[email protected]>`_ |
| 40 |
|
| 41 |
.. [AuthorYear] Author, Title, Year |
| 42 |
.. [1] Second |
| 43 |
.. [#] Third [#]_ |
| 44 |
.. [#] Footnote inside footnote |
| 45 |
.. [#named] Fourth |
| 46 |
|
| 47 |
The section with a reference to [#]_ |
| 48 |
===================================== |
| 49 |
|
| 50 |
.. [#] Footnote in section |
| 51 |
|
| 52 |
`URL in term <https://sphinx-doc.org/>`_ |
| 53 |
Description Description Description ... |
| 54 |
|
| 55 |
Footnote in term [#]_ |
| 56 |
Description Description Description ... |
| 57 |
|
| 58 |
`Term in deflist <https://sphinx-doc.org/>`_ |
| 59 |
Description2 |
| 60 |
|
| 61 |
.. [#] Footnote in term |
| 62 |
|
| 63 |
.. figure:: rimg.png |
| 64 |
|
| 65 |
This is the figure caption with a footnote to [#]_. |
| 66 |
|
| 67 |
.. [#] Footnote in caption |
| 68 |
|
| 69 |
.. list-table:: footnote [#]_ in caption of normal table |
| 70 |
:widths: 1 1 |
| 71 |
:header-rows: 1 |
| 72 |
|
| 73 |
* - name |
| 74 |
- desc |
| 75 |
* - a |
| 76 |
- b |
| 77 |
* - a |
| 78 |
- b |
| 79 |
|
| 80 |
.. [#] Foot note in table |
| 81 |
|
| 82 |
.. list-table:: footnote [#]_ in caption [#]_ of longtable |
| 83 |
:widths: 1 1 |
| 84 |
:header-rows: 1 |
| 85 |
|
| 86 |
* - name |
| 87 |
- desc |
| 88 |
* - This is a reference to the code-block in the footnote: |
| 89 |
:ref:`codeblockinfootnote` |
| 90 |
- This is one more footnote with some code in it [#]_. |
| 91 |
* - This is a reference to the other code block: |
| 92 |
:ref:`codeblockinanotherfootnote` |
| 93 |
- b |
| 94 |
* - a |
| 95 |
- b |
| 96 |
* - a |
| 97 |
- b |
| 98 |
* - a |
| 99 |
- b |
| 100 |
* - a |
| 101 |
- b |
| 102 |
* - a |
| 103 |
- b |
| 104 |
* - a |
| 105 |
- b |
| 106 |
* - a |
| 107 |
- b |
| 108 |
* - a |
| 109 |
- b |
| 110 |
* - a |
| 111 |
- b |
| 112 |
* - a |
| 113 |
- b |
| 114 |
* - a |
| 115 |
- b |
| 116 |
* - a |
| 117 |
- b |
| 118 |
* - a |
| 119 |
- b |
| 120 |
* - a |
| 121 |
- b |
| 122 |
* - a |
| 123 |
- b |
| 124 |
* - a |
| 125 |
- b |
| 126 |
* - a |
| 127 |
- b |
| 128 |
* - a |
| 129 |
- b |
| 130 |
* - a |
| 131 |
- b |
| 132 |
* - a |
| 133 |
- b |
| 134 |
* - a |
| 135 |
- b |
| 136 |
* - a |
| 137 |
- b |
| 138 |
* - a |
| 139 |
- b |
| 140 |
* - a |
| 141 |
- b |
| 142 |
* - a |
| 143 |
- b |
| 144 |
* - a |
| 145 |
- b |
| 146 |
* - a |
| 147 |
- b |
| 148 |
* - a |
| 149 |
- b |
| 150 |
* - a |
| 151 |
- b |
| 152 |
* - a |
| 153 |
- b |
| 154 |
|
| 155 |
.. [#] Foot note in longtable |
| 156 |
|
| 157 |
.. [#] Second footnote in caption of longtable |
| 158 |
|
| 159 |
.. code-block:: python |
| 160 |
:caption: I am in a footnote |
| 161 |
:name: codeblockinfootnote |
| 162 |
|
| 163 |
def foo(x,y): |
| 164 |
return x+y |
| 165 |
|
| 166 |
.. [#] Third footnote in longtable |
| 167 |
|
| 168 |
.. code-block:: python |
| 169 |
:caption: I am also in a footnote |
| 170 |
:name: codeblockinanotherfootnote |
| 171 |
|
| 172 |
def bar(x,y): |
| 173 |
return x+y |
| 174 |
|
| 175 |
The section with an object description |
| 176 |
====================================== |
| 177 |
|
| 178 |
.. py:function:: dummy(N) |
| 179 |
:no-index: |
| 180 |
|
| 181 |
Footnotes referred twice |
| 182 |
======================== |
| 183 |
|
| 184 |
* Explicitly numbered footnote: [100]_ [100]_ |
| 185 |
* Named footnote: [#twice]_ [#twice]_ |
| 186 |
|
| 187 |
.. [100] Numbered footnote |
| 188 |
.. [#twice] Named footnote |