jup2jek.Jup2Jek.convert_notebooks¶
-
Jup2Jek.
convert_notebooks
(self)[source]¶ Converts all Jupyter notebooks within the posts folder specified in the class options to markdown for use on Jekyll websites. The convert process operates as follows:
- All notebooks contained in the designated posts folder are found and converted to markdown using the jupyter nbconvert command.
- If the nbconvert command generates an assets folder, the assets are moved to the designated site assets folder at the same relative path.
- Asset paths referenced within the markdown files are updated to the website path.