Browse Source

Also copy markdown sources

Thomas Buck 9 years ago
parent
commit
79ab4ca04a
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      poole.py

+ 4
- 0
poole.py View File

@@ -506,6 +506,10 @@ def build(project, opts):
506 506
             elif re.search(MKD_PATT, f):
507 507
                 page = Page(opj(cwd, f))
508 508
                 pages.append(page)
509
+                foo = opj(cwd, f)
510
+                bar = opj(dir_out, f)
511
+                print('info   : copy %s' % bar)
512
+                shutil.copyfile(foo, bar)
509 513
             else:
510 514
                 # either use a custom converter or do a plain copy
511 515
                 for patt, (func, ext) in custom_converter.items():

Loading…
Cancel
Save