From 46252835624bbf958a593d880ffda6cd73ec9f90 Mon Sep 17 00:00:00 2001 From: Leo Lara Date: Sat, 18 Nov 2023 21:14:59 +0000 Subject: [PATCH] Publish book --- .github/workflows/api_rust_doc.yml | 4 ++-- Makefile | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/api_rust_doc.yml b/.github/workflows/api_rust_doc.yml index 48542091..60fab779 100644 --- a/.github/workflows/api_rust_doc.yml +++ b/.github/workflows/api_rust_doc.yml @@ -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 diff --git a/Makefile b/Makefile index e3766074..109827e7 100644 --- a/Makefile +++ b/Makefile @@ -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