summaryrefslogtreecommitdiff
path: root/tests/root
diff options
context:
space:
mode:
authorJonathan Waltman <jonathan.waltman@gmail.com>2013-02-20 13:50:40 -0600
committerJonathan Waltman <jonathan.waltman@gmail.com>2013-02-20 13:50:40 -0600
commit0732541e3b904c16744b44b4ee52f2c2056ac3a2 (patch)
treeb61dc4610e629b3e17d7feb61eaff8a4e23dbf06 /tests/root
parent5e022d27833bac115542ca6b728ea6c4f4c49e62 (diff)
downloadsphinx-0732541e3b904c16744b44b4ee52f2c2056ac3a2.tar.gz
Closes #1108: [text] Correctly number enumerated lists with non-default start values (based on patch by Ewan Edwards).
Diffstat (limited to 'tests/root')
-rw-r--r--tests/root/contents.txt1
-rw-r--r--tests/root/lists.txt54
2 files changed, 55 insertions, 0 deletions
diff --git a/tests/root/contents.txt b/tests/root/contents.txt
index de60ec6d..7486750d 100644
--- a/tests/root/contents.txt
+++ b/tests/root/contents.txt
@@ -28,6 +28,7 @@ Contents:
extensions
versioning/index
footnote
+ lists
Python <http://python.org/>
diff --git a/tests/root/lists.txt b/tests/root/lists.txt
new file mode 100644
index 00000000..99a55dc3
--- /dev/null
+++ b/tests/root/lists.txt
@@ -0,0 +1,54 @@
+Various kinds of lists
+======================
+
+
+nested enumerated lists
+-----------------------
+
+#. one
+
+#. two
+
+ #. two.1
+ #. two.2
+
+#. three
+
+
+enumerated lists with non-default start values
+----------------------------------------------
+
+0. zero
+#. one
+
+----------------------------------------
+
+1. one
+#. two
+
+----------------------------------------
+
+2. two
+#. three
+
+
+enumerated lists using letters
+------------------------------
+
+a. a
+
+b. b
+
+#. c
+
+#. d
+
+----------------------------------------
+
+x. x
+
+y. y
+
+#. z
+
+#. {