Skip to content

rstones/recursion-notebook-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to create and build a Jupyter Book

  1. Install jupyter-book from the github repo (the version on pypi doesn't seem to work properly)
pip install git+https://github.com/jupyter/jupyter-book.git
  1. Create a folder notebooks/ containing the jupyter notebook you wish to convert
  2. Create the book
jupyter-book create <book-title> --content-folder notebooks/
  1. Build the book
jupyter-book build <book-title>
  1. View a local version of the book using a Jekyll server inside a Docker container
docker pull emdupre/jupyter-book
docker run docker run --rm --security-opt label:disable -v <path-to-book-folder-inside-repo>:/srv/jekyll -p 4000:4000 -it -u 1000:1000 emdupre/jupyter-book bundle exec jekyll serve --host 0.0.0.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published