summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorgoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-03-31 03:36:28 +0000
committergoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-03-31 03:36:28 +0000
commit9d8780415eb5290669c3d18def6855fe99e0face (patch)
treee2a3518124bbdea74cb8497bd13676b4be325df7 /test/data
parentb601bbdfe72ab7d7e87b0623f70963ef6a237a9b (diff)
downloaddocutils-9d8780415eb5290669c3d18def6855fe99e0face.tar.gz
Moved template functionality from the PEP/HTML writer to the HTML writer. Expanded the fragments available in the ``parts`` attribute (via publish_parts fn).
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4456 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/data')
-rw-r--r--test/data/full-template.txt106
1 files changed, 106 insertions, 0 deletions
diff --git a/test/data/full-template.txt b/test/data/full-template.txt
new file mode 100644
index 000000000..651886024
--- /dev/null
+++ b/test/data/full-template.txt
@@ -0,0 +1,106 @@
+head_prefix = """\
+%(head_prefix)s"""
+
+
+head = """\
+%(head)s"""
+
+
+stylesheet = """\
+%(stylesheet)s"""
+
+
+body_prefix = """\
+%(body_prefix)s"""
+
+
+body_pre_docinfo = """\
+%(body_pre_docinfo)s"""
+
+
+docinfo = """\
+%(docinfo)s"""
+
+
+body = """\
+%(body)s"""
+
+
+body_suffix = """\
+%(body_suffix)s"""
+
+
+head_prefix = """\
+%(head_prefix)s"""
+
+
+head = """\
+%(head)s"""
+
+
+stylesheet = """\
+%(stylesheet)s"""
+
+
+body_prefix = """\
+%(body_prefix)s"""
+
+
+body_pre_docinfo = """\
+%(body_pre_docinfo)s"""
+
+
+docinfo = """\
+%(docinfo)s"""
+
+
+body = """\
+%(body)s"""
+
+
+body_suffix = """\
+%(body_suffix)s"""
+
+
+title = """\
+%(title)s"""
+
+
+subtitle = """\
+%(subtitle)s"""
+
+
+header = """\
+%(header)s"""
+
+
+footer = """\
+%(footer)s"""
+
+
+meta = """\
+%(meta)s"""
+
+
+fragment = """\
+%(fragment)s"""
+
+
+html_prolog = """\
+%(html_prolog)s"""
+
+
+html_head = """\
+%(html_head)s"""
+
+
+html_title = """\
+%(html_title)s"""
+
+
+html_subtitle = """\
+%(html_subtitle)s"""
+
+
+html_body = """\
+%(html_body)s"""