#copyright ReportLab Inc. 2000-2001
#see license.txt for license details
#history http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/reportlab/__init__.py?cvsroot=reportlab
#$Header: /cvsroot/reportlab/reportlab/__init__.py,v 1.26 2003/07/09 10:36:10 rgbecker Exp $
__version__=''' $Id: __init__.py,v 1.26 2003/07/09 10:36:10 rgbecker Exp $ '''
__doc__="""The Reportlab PDF generation library."""
Version = "1.18"

def getStory(context):
    if context.target == 'UserGuide':
        # parse some local file
        import os
        myDir = os.path.split(__file__)[0]
        import yaml
        return yaml.parseFile(myDir + os.sep + 'mydocs.yaml')
    else:
        # this signals that it should revert to default processing
        return None
