Sfoglia il codice sorgente

Also copy markdown sources

Thomas Buck 8 anni fa
parent
commit
79ab4ca04a
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4
    0
      poole.py

+ 4
- 0
poole.py Vedi 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…
Annulla
Salva