summaryrefslogtreecommitdiff
path: root/docutils/test/data
diff options
context:
space:
mode:
authorgoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2003-09-01 15:07:11 +0000
committergoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2003-09-01 15:07:11 +0000
commitc540a4c9d7da712385a2477e1da83515d536fe31 (patch)
tree558f32c6730852bd8d9ae42c3c41c5841b072b7d /docutils/test/data
parent0966c6eb637aeb24e960a72878311b90e4741494 (diff)
downloaddocutils-c540a4c9d7da712385a2477e1da83515d536fe31.tar.gz
new tests & support files
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1662 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/data')
-rw-r--r--docutils/test/data/config_1.txt20
-rw-r--r--docutils/test/data/config_2.txt10
-rw-r--r--docutils/test/data/config_error_handler.txt2
-rw-r--r--docutils/test/data/config_list.txt8
-rw-r--r--docutils/test/data/config_old.txt14
5 files changed, 54 insertions, 0 deletions
diff --git a/docutils/test/data/config_1.txt b/docutils/test/data/config_1.txt
new file mode 100644
index 000000000..9524dfb8c
--- /dev/null
+++ b/docutils/test/data/config_1.txt
@@ -0,0 +1,20 @@
+# Test config file (new format)
+
+[general]
+
+source-link: on
+datestamp: %Y-%m-%d %H:%M UTC
+generator: true
+
+
+[html4css1 writer]
+
+stylesheet-path: stylesheets/default.css
+
+
+[pep_html writer]
+
+template: pep-html-template
+stylesheet-path: stylesheets/pep.css
+python-home: http://www.python.org
+no-random: yes
diff --git a/docutils/test/data/config_2.txt b/docutils/test/data/config_2.txt
new file mode 100644
index 000000000..6f1d17008
--- /dev/null
+++ b/docutils/test/data/config_2.txt
@@ -0,0 +1,10 @@
+# Test config file (new format)
+
+[general]
+
+generator: no
+
+
+[html4css1 writer]
+
+stylesheet-path: test.css
diff --git a/docutils/test/data/config_error_handler.txt b/docutils/test/data/config_error_handler.txt
new file mode 100644
index 000000000..82e341649
--- /dev/null
+++ b/docutils/test/data/config_error_handler.txt
@@ -0,0 +1,2 @@
+[general]
+error_encoding: ascii:strict
diff --git a/docutils/test/data/config_list.txt b/docutils/test/data/config_list.txt
new file mode 100644
index 000000000..fde6793c9
--- /dev/null
+++ b/docutils/test/data/config_list.txt
@@ -0,0 +1,8 @@
+[general]
+expose_internals: a
+
+[html4css1 writer]
+expose_internals: b:c:d
+
+[pep_html writer]
+expose_internals: e
diff --git a/docutils/test/data/config_old.txt b/docutils/test/data/config_old.txt
new file mode 100644
index 000000000..fa07d6dab
--- /dev/null
+++ b/docutils/test/data/config_old.txt
@@ -0,0 +1,14 @@
+# Test config file (old format)
+
+[options]
+
+source-link: 1
+datestamp: %Y-%m-%d %H:%M UTC
+generator: 1
+
+stylesheet-path: stylesheets/default.css
+
+pep-template: pep-html-template
+pep-stylesheet-path: stylesheets/pep.css
+python-home: http://www.python.org
+no-random: 1