From 730010dc5bf06469f04e8d3d971de1dec5b1f2c7 Mon Sep 17 00:00:00 2001 From: "Martin A. Brown" Date: Mon, 7 Mar 2016 19:57:48 -0800 Subject: [PATCH] adding sample Asciidoc document --- tests/example.py | 5 +++++ tests/sample-documents/text-simple.txt | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/example.py b/tests/example.py index 47b1cfe..bf686c5 100644 --- a/tests/example.py +++ b/tests/example.py @@ -33,6 +33,11 @@ ex_docbook5xml = Namespace( filename=opj(sampledocs, 'docbook5xml-simple.xml'), ) +ex_asciidoc = Namespace( + doctype=tldp.doctypes.asciidoc.Asciidoc, + filename=opj(sampledocs, 'text-simple.txt'), + ) +# # ex_rst = Namespace( # doctype=tldp.doctypes.rst.RestructuredText, # filename=opj(sampledocs, 'restructuredtext-simple.rst'), diff --git a/tests/sample-documents/text-simple.txt b/tests/sample-documents/text-simple.txt index a002559..dd96d6b 100644 --- a/tests/sample-documents/text-simple.txt +++ b/tests/sample-documents/text-simple.txt @@ -1 +1,6 @@ -No content. +Title of an Asciidoc Document +============================= +Franklin P. Gundersnip +v0.3, 2016-03 + +Here is simply text.