Skip to content

Commit

Permalink
Merged trunk to branch. I still ahve 4 ftests failing, but I suspect, it
Browse files Browse the repository at this point in the history
will be fixed once I merge the changes of the last three days (hopefully).
  • Loading branch information
strichter committed Feb 10, 2005
0 parents commit 3a107e3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions __init__.py
@@ -0,0 +1,34 @@
##############################################################################
#
# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""
Consider the following example::
>>> from structuredtext.stng import structurize
>>> from structuredtext.document import DocumentWithImages
>>> from structuredtext.html import HTMLWithImages
>>> from structuredtext.docbook import DocBook
We first need to structurize the string and make a full-blown
document out of it:
>>> struct = structurize(structured_string)
>>> doc = DocumentWithImages()(struct)
Now feed it to some output generator, in this case HTML or DocBook:
>>> output = HTMLWithImages()(doc, level=1)
>>> output = DocBook()(doc, level=1)
$Id$
"""
__docformat__ = 'restructuredtext'

0 comments on commit 3a107e3

Please sign in to comment.