forked from online-ml/river
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (18 loc) · 675 Bytes
/
Makefile
File metadata and controls
25 lines (18 loc) · 675 Bytes
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)
format:
pre-commit run --all-files
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
yamp river --out docs/api
mkdocs build
livedoc: doc
mkdocs serve --dirtyreload
rebase:
git fetch && git rebase origin/main