Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Publish book
Browse files Browse the repository at this point in the history
  • Loading branch information
leolara committed Nov 18, 2023
1 parent 34e1716 commit 4625283
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/api_rust_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:

- name: Add CNAME file to docs root
run: |
mkdir -p ./target/doc
echo 'apidocs.pecadorplonkish.xyz' > ./target/doc/CNAME
mkdir -p ./book/_build/html
echo 'apidocs.pecadorplonkish.xyz' > ./book/_build/html/CNAME
- name: Deploy book
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ test:
./target/test_coverage/grcov . --binary-path ./target/debug/deps/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o target/test_coverage/tests.lcov

book:
python3 -m venv .env
. .env/bin/activate; pip install -r requirements.txt; maturin develop; pip install jupyter; python -m ipykernel install --user --name=chiquito_kernel
jupyter-book build book

.PHONY: precommit build test book

0 comments on commit 4625283

Please sign in to comment.