2015-12-07 11:02:45 +09:00
|
|
|
===============
|
|
|
|
|
test-footenotes
|
|
|
|
|
===============
|
2015-12-03 10:33:15 +09:00
|
|
|
|
2016-02-07 22:58:14 +09:00
|
|
|
.. toctree::
|
|
|
|
|
|
|
|
|
|
bar
|
|
|
|
|
baz
|
|
|
|
|
|
2016-02-07 19:34:40 +09:00
|
|
|
.. contents::
|
|
|
|
|
:local:
|
|
|
|
|
|
2015-12-03 11:39:25 +09:00
|
|
|
The section with a reference to [AuthorYear]_
|
|
|
|
|
=============================================
|
|
|
|
|
|
2015-12-03 10:33:15 +09:00
|
|
|
.. figure:: rimg.png
|
|
|
|
|
|
|
|
|
|
This is the figure caption with a reference to [AuthorYear]_.
|
|
|
|
|
|
2015-12-03 11:39:25 +09:00
|
|
|
.. list-table:: The table title with a reference to [AuthorYear]_
|
|
|
|
|
:header-rows: 1
|
|
|
|
|
|
|
|
|
|
* - Header1
|
|
|
|
|
- Header2
|
|
|
|
|
* - Content
|
|
|
|
|
- Content
|
|
|
|
|
|
2015-12-03 14:48:00 +09:00
|
|
|
.. rubric:: The rubric title with a reference to [AuthorYear]_
|
|
|
|
|
|
2015-12-08 00:37:20 +09:00
|
|
|
.. [#] First
|
|
|
|
|
|
2015-12-07 11:02:45 +09:00
|
|
|
* First footnote: [#]_
|
|
|
|
|
* Second footnote: [1]_
|
|
|
|
|
* `Sphinx <http://sphinx-doc.org/>`_
|
|
|
|
|
* Third footnote: [#]_
|
2015-12-08 00:37:20 +09:00
|
|
|
* `URL including tilde <http://sphinx-doc.org/~test/>`_
|
2015-12-19 14:42:01 +09:00
|
|
|
* GitHub Page: `https://github.com/sphinx-doc/sphinx <https://github.com/sphinx-doc/sphinx>`_
|
|
|
|
|
* Mailing list: `sphinx-dev@googlegroups.com <mailto:sphinx-dev@googlegroups.com>`_
|
2015-12-07 11:02:45 +09:00
|
|
|
|
2015-12-03 10:33:15 +09:00
|
|
|
.. [AuthorYear] Author, Title, Year
|
2015-12-07 11:02:45 +09:00
|
|
|
.. [1] Second
|
2018-04-20 21:21:46 +09:00
|
|
|
.. [#] Third [#]_
|
|
|
|
|
.. [#] Footnote inside footnote
|
2015-12-08 12:16:15 +09:00
|
|
|
|
2016-01-06 11:13:30 +09:00
|
|
|
The section with a reference to [#]_
|
2015-12-25 10:43:41 +09:00
|
|
|
=====================================
|
|
|
|
|
|
2016-01-06 11:13:30 +09:00
|
|
|
.. [#] Footnote in section
|
|
|
|
|
|
2015-12-08 12:16:15 +09:00
|
|
|
`URL in term <http://sphinx-doc.org/>`_
|
|
|
|
|
Description Description Description ...
|
|
|
|
|
|
|
|
|
|
Footnote in term [#]_
|
|
|
|
|
Description Description Description ...
|
|
|
|
|
|
|
|
|
|
`Term in deflist <http://sphinx-doc.org/>`_
|
|
|
|
|
Description2
|
|
|
|
|
|
|
|
|
|
.. [#] Footnote in term
|
2016-01-01 17:28:22 +09:00
|
|
|
|
|
|
|
|
.. figure:: rimg.png
|
|
|
|
|
|
|
|
|
|
This is the figure caption with a footnote to [#]_.
|
|
|
|
|
|
|
|
|
|
.. [#] Footnote in caption
|
2016-01-01 19:31:36 +09:00
|
|
|
|
|
|
|
|
.. list-table:: footnote [#]_ in caption of normal table
|
|
|
|
|
:widths: 1 1
|
|
|
|
|
:header-rows: 1
|
|
|
|
|
|
|
|
|
|
* - name
|
|
|
|
|
- desc
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
|
|
|
|
|
.. [#] Foot note in table
|
|
|
|
|
|
2016-10-15 12:09:58 +02:00
|
|
|
.. list-table:: footnote [#]_ in caption [#]_ of longtable
|
2016-01-01 19:31:36 +09:00
|
|
|
:widths: 1 1
|
|
|
|
|
:header-rows: 1
|
|
|
|
|
|
|
|
|
|
* - name
|
|
|
|
|
- desc
|
2016-10-15 12:09:58 +02:00
|
|
|
* - This is a reference to the code-block in the footnote:
|
|
|
|
|
:ref:`codeblockinfootnote`
|
|
|
|
|
- This is one more footnote with some code in it [#]_.
|
|
|
|
|
* - This is a reference to the other code block:
|
|
|
|
|
:ref:`codeblockinanotherfootnote`
|
2016-01-01 19:31:36 +09:00
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
* - a
|
|
|
|
|
- b
|
|
|
|
|
|
|
|
|
|
.. [#] Foot note in longtable
|
2016-10-15 12:09:58 +02:00
|
|
|
|
|
|
|
|
.. [#] Second footnote in caption of longtable
|
|
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
:caption: I am in a footnote
|
|
|
|
|
:name: codeblockinfootnote
|
|
|
|
|
|
|
|
|
|
def foo(x,y):
|
|
|
|
|
return x+y
|
|
|
|
|
|
|
|
|
|
.. [#] Third footnote in longtable
|
|
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
:caption: I am also in a footnote
|
|
|
|
|
:name: codeblockinanotherfootnote
|
|
|
|
|
|
|
|
|
|
def bar(x,y):
|
|
|
|
|
return x+y
|