Skip to content

Commit da78e19

Browse files
committed
.ipynb included by default
1 parent 4b9bf7a commit da78e19

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

scripts/execute-convert.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
command = "jb build . --config _config.yml --toc _toc.yml --builder pdfhtml"
1919
os.system(command)
2020

21-
# copy .ipynb and build outputs to 'html' dir
22-
command = f"cp '*.ipynb' html"
23-
os.system(command)
21+
# copy build outputs to 'html' dir
2422
command = "cp -r '_build/html' html"
2523
os.system(command)
2624
command = "cp '_build/pdf/book.pdf' html"
@@ -34,9 +32,7 @@
3432
command = f"jb build {slug}.ipynb --config _config.yml --builder pdfhtml"
3533
os.system(command)
3634

37-
# copy .ipynb and build outputs to 'html' dir
38-
command = f"cp '*.ipynb' html"
39-
os.system(command)
35+
# copy build outputs to 'html' dir
4036
command = f"cp -r '_build/_page/{slug}/html' html"
4137
os.system(command)
4238
command = f"cp '_build/_page/{slug}/pdf/{slug}.pdf' html"

0 commit comments

Comments
 (0)