[Happydoc-checkins] CVS: HappyDoc3/happydoclib appclass.py,1.14,1.15
Brought to you by:
doughellmann,
krlosaqp
|
From: Doug H. <dou...@us...> - 2003-03-16 16:24:26
|
Update of /cvsroot/happydoc/HappyDoc3/happydoclib
In directory sc8-pr-cvs1:/tmp/cvs-serv28957/happydoclib
Modified Files:
appclass.py
Log Message:
Let the user specify the --template-path where the template set should
be found.
Index: appclass.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc3/happydoclib/appclass.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** appclass.py 15 Mar 2003 14:23:20 -0000 1.14
--- appclass.py 16 Mar 2003 16:24:24 -0000 1.15
***************
*** 117,120 ****
--- 117,125 ----
template_name = None
+ #
+ # Where should we look for templates?
+ #
+ template_path = None
+
##
## Local methods
***************
*** 338,341 ****
--- 343,352 ----
return
+ def optionHandler_template_path(self, template_path_directory):
+ """Set the parent directory of the template directory.
+ """
+ self.template_path = template_path_directory
+ return
+
##
## Main
***************
*** 381,384 ****
--- 392,397 ----
if self.template_name:
docset_params['template_name'] = self.template_name
+ if self.template_path:
+ docset_params['template_path'] = self.template_path
self.parser_params = parser_params
|