pytorch-ignite/pytorch-ignite.ai

[prototype] Jupyter Notebooks Rendering

trsvchn opened this issue · 2 comments

  • Link examples repo as a submodule
  • Add a script based on nbconvert to:
    • convert ipynb notebook from examples to markdown files
    • prepend hugo related header (post title, footer...)

The proto is ready, for rendering single dummy notebook with text and image output cells.

  1. Go to the branch:
 jupyter-nb-rendering 
  1. Install dependencies
pip install pr scripts/requirements.txt
  1. Get examples
git submodule update --init --recursive
  1. Run from repo root dir
./scripts/nb_to_md.sh examples ./content/docs/tutorials
  1. Run Hugo
hugo server
  1. Enjoy!

Done in #19