Skip to content

nickeubank/ds4humans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Science for Humans Jupyter Book

This repository is a jupyter book project for Data Science for Humans.

The files here are hosted at the domain ds4humans.com.

Building Book

  • set cd to this repo
  • run jupyter-book build . By default only changed pages. Use jupyter-book build --all . to force full build.
  • Copy into docs (where github pages looks): cp -R _build/html/ docs
  • Push to github and it'll update online shortly!
  • You can also open _build/index.html (just double click!) and it'll open in your browser locally.

For copy-paste ease: jupyter-book build --all .; cp -R _build/html/ docs; git add .; git commit; git push

Building to LaTeX

(Docs)

HTML to PDF

jupyter-book build . --builder pdfhtml

LaTeX

jupyter-book build . --builder pdflatex

jupyter-book build . --builder pdflatex --individualpages

Syntax

Jupyter books basically use Markdown + some extra features for things like note boxes, or danger boxes, etc. Cheatsheet here

Here's footnotes: https://jupyterbook.org/en/stable/content/content-blocks.html#footnotes Notes and warnings: https://jupyterbook.org/en/stable/content/content-blocks.html#notes-warnings-and-other-admonitions