/[navidoc]/navidoc/rst2any.py
ViewVC logotype

Diff of /navidoc/rst2any.py

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

revision 1.10 by humppake, Fri Mar 21 14:35:53 2003 UTC revision 1.11 by benja, Fri Mar 21 22:02:54 2003 UTC
# Line 80  def rst2any(input): Line 80  def rst2any(input):
80    
81      if html:      if html:
82          dbg('Compiling: '+input)          dbg('Compiling: '+input)
83          output = output+".gen.html"          if not output.endswith('index'):
84                output = output+".gen.html"
85            else:
86                # For practical reasons, we need to transform
87                # index.rst into index.html ...
88                output = output+".html"
89          config.output_filename = os.path.basename(output)          config.output_filename = os.path.basename(output)
90          dbg_config("Output file: "+config.output_filename)          dbg_config("Output file: "+config.output_filename)
91          args = "--config "+config.docutils+" "+input+' '+output          args = "--config "+config.docutils+" "+input+' '+output

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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