forked from online-ml/river
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
25 lines (19 loc) · 817 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
COMMIT_HASH := $(shell eval git rev-parse HEAD)
cython:
python setup.py build_ext --inplace --force
execute-notebooks:
jupyter nbconvert --execute --to notebook --inplace docs/*/*.ipynb --ExecutePreprocessor.timeout=-1
render-notebooks:
jupyter nbconvert --to markdown docs/getting-started/getting-started.ipynb
jupyter nbconvert --to markdown docs/user-guide/*.ipynb --output-dir docs/user-guide
jupyter nbconvert --to markdown docs/examples/*.ipynb --output-dir docs/examples
doc: render-notebooks
python docs/scripts/index.py
mkdocs build
livedoc: doc
mkdocs serve --dirtyreload
.PHONY: bench
bench:
asv run ${COMMIT_HASH} --config benchmarks/asv.conf.json --steps 1
asv run master --config benchmarks/asv.conf.json --steps 1
asv compare the-merge ${COMMIT_HASH} --config benchmarks/asv.conf.json