/[gzz]/gzz/metacode/umldoc.py
ViewVC logotype

Diff of /gzz/metacode/umldoc.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by jvk, Mon Feb 3 15:58:26 2003 UTC revision 1.19 by jvk, Mon Feb 3 16:11:25 2003 UTC
# Line 66  def _rstFiles(path): Line 66  def _rstFiles(path):
66      return rstfiles      return rstfiles
67    
68  def run_convert(path):  def run_convert(path):
     global rst2html, rst2latex  
69      def rst2both(path):      def rst2both(path):
70          rst2html(path)          rst2html(path)
71          rst2latex(path)          rst2latex(path)
72        rst2xxx = rst2html
73      if path.find("manuscripts/") != -1:      if path.find("manuscripts/") != -1:
74          rst2html = rst2both          rst2xxx = rst2both
75                    
76      if os.path.isdir(path):      if os.path.isdir(path):
77          rstfiles = _rstFiles(path)          rstfiles = _rstFiles(path)
78          for rstfile in rstfiles:          for rstfile in rstfiles:
79              rst2html(mputils._slashify(path)+rstfile)              rst2xxx(mputils._slashify(path)+rstfile)
80    
81      elif os.path.isfile(path) or os.path.isfile(path+'.rst'):      elif os.path.isfile(path) or os.path.isfile(path+'.rst'):
82          rst2html(path)          rst2xxx(path)
83    
84      else:      else:
85          umltool.set_transition_paths(path)          umltool.set_transition_paths(path)

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26