forked from online-ml/river
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (29 loc) · 1.21 KB
/
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
36
37
38
39
COMMIT_HASH := $(shell eval git rev-parse HEAD)
format:
pre-commit run --all-files
execute-notebooks:
jupyter nbconvert --execute --to notebook --inplace docs/introduction/*/*.ipynb --ExecutePreprocessor.timeout=-1
jupyter nbconvert --execute --to notebook --inplace docs/recipes/*.ipynb --ExecutePreprocessor.timeout=-1
jupyter nbconvert --execute --to notebook --inplace docs/examples/*.ipynb --ExecutePreprocessor.timeout=-1
jupyter nbconvert --execute --to notebook --inplace docs/examples/*/*.ipynb --ExecutePreprocessor.timeout=-1
render-notebooks:
jupyter nbconvert --to markdown docs/introduction/*/*.ipynb
jupyter nbconvert --to markdown docs/recipes/*.ipynb
jupyter nbconvert --to markdown docs/examples/*.ipynb
jupyter nbconvert --to markdown docs/examples/*/*.ipynb
doc: render-notebooks
(cd benchmarks && python render.py)
python docs/parse river --out docs --verbose
mkdocs build
livedoc: doc
mkdocs serve --dirtyreload
rebase:
git fetch && git rebase origin/main
develop:
python ./setup.py develop
build-cython:
python setup.py build_ext --inplace --force
build-rust:
python setup.py build_rust --inplace --release
build:
python setup.py build_rust --inplace --release build_ext --inplace --force