Skip to content
Snippets Groups Projects
Commit aef21501 authored by Laurent Mignon's avatar Laurent Mignon Committed by Xavier Morel
Browse files

[IMP] let scaffold render files ending by .rst and .html

closes #4773
parent 447f8cf4
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ class template(object):
os.makedirs(destdir)
with open(dest, 'wb') as f:
if ext not in ('.py', '.xml', '.csv', '.js'):
if ext not in ('.py', '.xml', '.csv', '.js', '.rst', '.html'):
f.write(content)
else:
env.from_string(content)\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment