201 |
fails += 'PEG %s: Docutil raised an exception while converting %s. ' % (pegdir, rstfile) |
fails += 'PEG %s: Docutil raised an exception while converting %s. ' % (pegdir, rstfile) |
202 |
fails += 'Conversion failed and HTML not created.\n' |
fails += 'Conversion failed and HTML not created.\n' |
203 |
|
|
|
######################### |
|
|
#UMLDOC: the second pass# |
|
|
######################### |
|
|
for rstfile in rstfiles: |
|
|
file = pegroot+'/'+pegdir+'/'+rstfile |
|
|
umlrst.embed_diagram(file) |
|
|
|
|
204 |
if not peg['html']: |
if not peg['html']: |
205 |
for file in peg['files']: |
for file in peg['files']: |
206 |
if file[len(file)-5:len(file)] == '.html': |
if file[len(file)-5:len(file)] == '.html': |