1===============
2test-footenotes
3===============
4
5.. toctree::
6
7   bar
8   baz
9
10.. contents::
11   :local:
12
13The 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 <http://sphinx-doc.org/>`_
35* Third footnote: [#]_
36* `URL including tilde <http://sphinx-doc.org/~test/>`_
37* GitHub Page: `https://github.com/sphinx-doc/sphinx <https://github.com/sphinx-doc/sphinx>`_
38* Mailing list: `sphinx-dev@googlegroups.com <mailto:sphinx-dev@googlegroups.com>`_
39
40.. [AuthorYear] Author, Title, Year
41.. [1] Second
42.. [#] Third [#]_
43.. [#] Footnote inside footnote
44
45The section with a reference to [#]_
46=====================================
47
48.. [#] Footnote in section
49
50`URL in term <http://sphinx-doc.org/>`_
51    Description Description Description ...
52
53Footnote in term [#]_
54    Description Description Description ...
55
56    `Term in deflist <http://sphinx-doc.org/>`_
57        Description2
58
59.. [#] Footnote in term
60
61.. figure:: rimg.png
62
63   This is the figure caption with a footnote to [#]_.
64
65.. [#] Footnote in caption
66
67.. list-table:: footnote [#]_ in caption of normal table
68    :widths: 1 1
69    :header-rows: 1
70
71    * - name
72      - desc
73    * - a
74      - b
75    * - a
76      - b
77
78.. [#] Foot note in table
79
80.. list-table:: footnote [#]_ in caption [#]_ of longtable
81    :widths: 1 1
82    :header-rows: 1
83
84    * - name
85      - desc
86    * - This is a reference to the code-block in the footnote:
87        :ref:`codeblockinfootnote`
88      - This is one more footnote with some code in it [#]_.
89    * - This is a reference to the other code block:
90        :ref:`codeblockinanotherfootnote`
91      - b
92    * - a
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
153.. [#] Foot note in longtable
154
155.. [#] Second footnote in caption of longtable
156
157       .. code-block:: python
158          :caption: I am in a footnote
159          :name: codeblockinfootnote
160
161          def foo(x,y):
162              return x+y
163
164.. [#] Third footnote in longtable
165
166       .. code-block:: python
167          :caption: I am also in a footnote
168          :name: codeblockinanotherfootnote
169
170          def bar(x,y):
171              return x+y
172
173The section with an object description
174======================================
175
176.. py:function:: dummy(N)
177   :noindex:
178