gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: jakarta-gump/python/gump document.py
Date Sat, 06 Sep 2003 01:19:26 GMT
ajack       2003/09/05 18:19:26

  Modified:    python/gump document.py
  Log:
  1) Set the project.site-dir to the log directory.
  2) Fixed an xdoc bug w/ "Cause" on a module.
  
  Revision  Changes    Path
  1.8       +12 -6     jakarta-gump/python/gump/document.py
  
  Index: document.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/document.py,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- document.py	5 Sep 2003 23:15:19 -0000	1.7
  +++ document.py	6 Sep 2003 01:19:26 -0000	1.8
  @@ -196,6 +196,10 @@
           content, '=')    
       forrest.addPrefixedParameter('-D','project.xdocs-dir',  \
           xdocs, '=')
  +        
  +    forrest.addPrefixedParameter('-D','project.site-dir',  \
  +        workspace.logdir, '=')
  +        
       #forrest.addPrefixedParameter('-D','project.sitemap-dir',  \
       #    docroot, '=')    
       #forrest.addPrefixedParameter('-D','project.stylesheets-dir',  \
  @@ -335,9 +339,11 @@
       endSectionXDoc(x)
       
       startSectionXDoc(x,'Module Details')
  -    paragraphXDoc(x,"Status: " + stateName(modulecontext.status))
  +    startListXDoc(x)
  +    addItemXDoc(x,"Status: " + stateName(modulecontext.status))
       if modulecontext.cause:
  -        addItemXDoc(x, "Cause:", "<link href='%s'>%s</link>" % (getContextUrl(modulecontext.cause),
modulecontext.cause.name))
  +        addItemXDoc(x, "Cause:", "<link href='%s'>%s</link>" % (getContextUrl(modulecontext.cause),
modulecontext.cause.name))    
  +    endListXDoc(x)
       endSectionXDoc(x)
          
       documentWorkList(x,workspace,modulecontext.worklist,'Module-level Work',mdir)
  @@ -664,10 +670,10 @@
   # Helper Methods
   #           
    
  -def getWorkspaceSiteDir(workspace):
  -    sdir=os.path.normpath(os.path.join(workspace.logdir,'site'))
  -    if not os.path.exists(sdir): os.mkdir(sdir)
  -    return sdir    
  +#def getWorkspaceSiteDir(workspace):
  +#    sdir=os.path.normpath(os.path.join(workspace.logdir,'site'))
  +#    if not os.path.exists(sdir): os.mkdir(sdir)
  +#    return sdir    
       
   def getForrestTemplateDir():
       fdir=os.path.normpath(os.path.join(dir.template,'forrest'))
  
  
  

Mime
View raw message