reportlab/__init__.py
changeset 681 934a4f24ea5d
parent 625 6eb3b0e88778
child 711 8e69156a92ec
--- a/reportlab/__init__.py	Fri Mar 02 15:35:43 2001 +0000
+++ b/reportlab/__init__.py	Tue Mar 06 17:38:15 2001 +0000
@@ -1,8 +1,19 @@
 #copyright ReportLab Inc. 2000
 #see license.txt for license details
 #history http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/reportlab/__init__.py?cvsroot=reportlab
-#$Header: /tmp/reportlab/reportlab/__init__.py,v 1.9 2001/02/09 15:49:01 johnprecedo Exp $
-__version__=''' $Id: __init__.py,v 1.9 2001/02/09 15:49:01 johnprecedo Exp $ '''
-__doc__="""
-"""
+#$Header: /tmp/reportlab/reportlab/__init__.py,v 1.10 2001/03/06 17:38:14 andy_robinson Exp $
+__version__=''' $Id: __init__.py,v 1.10 2001/03/06 17:38:14 andy_robinson Exp $ '''
+__doc__="""The Reportlab PDF generation library."""
 Version = "1.03"
+
+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
+