-
Notifications
You must be signed in to change notification settings - Fork 10
/
Makefile
35 lines (27 loc) · 918 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.PHONY: help book clean serve
# help:
# @echo "Please use 'make <target>' where <target> is one of:"
# @echo " install to install the necessary dependencies for jupyter-book to build"
# @echo " book to convert the `content/` folder into Jekyll markdown in `_build/`"
# @echo " clean to clean out site build files"
# @echo " runall to run all notebooks in-place, capturing outputs with the notebook"
# @echo " serve to serve the repository locally with Jekyll"
# @echo " build to build the site HTML locally with Jekyll and store in _site/"
# install:
# gem install bundler
# bundle install
book:
rm -r docs || :
jupyter-book build ./
mv _build/html docs
rm -r _build
touch docs/.nojekyll
# runall:
# jupyter-book run ./content
# clean:
# python scripts/clean.py
# serve:
# bundle exec guard
# build:
# bundle exec jekyll build
# touch _site/.nojekyll