summaryrefslogtreecommitdiff
path: root/tests/root
diff options
context:
space:
mode:
authorNozomu Kaneko <nozom.kaneko@gmail.com>2012-12-19 06:13:20 +0900
committerNozomu Kaneko <nozom.kaneko@gmail.com>2012-12-19 06:13:20 +0900
commitff487e7a5b7de61ed57d7043750aed3bedd611eb (patch)
treedf4b44043ada24fa38a35b79bee088ed6e66bb3b /tests/root
parente1bf8968511b3d6c2459d1f0e2abd306b8f55f27 (diff)
downloadsphinx-ff487e7a5b7de61ed57d7043750aed3bedd611eb.tar.gz
fix #1058 Footnote backlinks do not work
Diffstat (limited to 'tests/root')
-rw-r--r--tests/root/contents.txt1
-rw-r--r--tests/root/footnote.txt40
2 files changed, 41 insertions, 0 deletions
diff --git a/tests/root/contents.txt b/tests/root/contents.txt
index 0a8ca00e..67384351 100644
--- a/tests/root/contents.txt
+++ b/tests/root/contents.txt
@@ -28,6 +28,7 @@ Contents:
extensions
versioning/index
only
+ footnote
i18n/index
Python <http://python.org/>
diff --git a/tests/root/footnote.txt b/tests/root/footnote.txt
new file mode 100644
index 00000000..c1359dfe
--- /dev/null
+++ b/tests/root/footnote.txt
@@ -0,0 +1,40 @@
+:tocdepth: 2
+
+Testing footnote and citation
+================================
+.. #1058 footnote-backlinks-do-not-work
+
+numbered footnote
+--------------------
+
+[1]_
+
+auto-numbered footnote
+------------------------------
+
+[#]_
+
+named footnote
+--------------------
+
+[#foo]_
+
+citation
+--------------------
+
+[bar]_
+
+footenotes
+--------------------
+
+.. rubric:: Footnotes
+
+.. [1] numbered
+
+.. [#] auto numbered
+
+.. [#foo] named
+
+.. rubric:: Citations
+
+.. [bar] cite