Skip to content

Commit 99f488e

Browse files
committed
towards make book
1 parent cf6ccdb commit 99f488e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ fmt: install-uv ## check the pre-commit hooks and the linting
7272
deptry: install-uv ## run deptry if pyproject.toml exists
7373
@./bin/uvx deptry "${SOURCE_FOLDER}"
7474

75+
##@ Documentation
76+
book: test docs marimushka ## compile the companion book
77+
@/bin/sh .github/scripts/book.sh
78+
@./bin/uvx minibook --title "${BOOK_TITLE}" --subtitle "${BOOK_SUBTITLE}" --links "$$(python3 -c 'import json,sys; print(json.dumps(json.load(open("_book/links.json"))))')" --output "_book"
79+
@touch "_book/.nojekyll"
80+
7581
##@ Meta
7682
help: ## Display this help message
7783
+@printf "$(BOLD)Usage:$(RESET)\n"

0 commit comments

Comments
 (0)