Previous topic

jup2jek.Jup2Jek.convert

Next topic

jup2jek.Jup2Jek.load_options

This Page

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:

  1. All notebooks contained in the designated posts folder are found and converted to markdown using the jupyter nbconvert command.
  2. If the nbconvert command generates an assets folder, the assets are moved to the designated site assets folder at the same relative path.
  3. Asset paths referenced within the markdown files are updated to the website path.