Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion book/book.mk
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,18 @@ docs:: install ## create documentation with pdoc
# 1. Aggregates API docs, coverage, test reports, and notebooks into _book.
# 2. Generates links.json to define the book structure.
# 3. Uses 'minibook' to compile the final HTML site.
book:: test docs marimushka ## compile the companion book
book:: install-uv ## compile the companion book
@printf "${BLUE}[INFO] Building combined documentation...${RESET}\n"

# Run docs but don't fail book if docs fail or are unavailable
@$(MAKE) docs || printf "${YELLOW}[WARN] Docs failed or unavailable, continuing with book generation${RESET}\n"

# Run marimushka but don't fail book if marimushka fails or is unavailable
@$(MAKE) marimushka || printf "${YELLOW}[WARN] Marimushka failed or unavailable, continuing with book generation${RESET}\n"

# Run tests but don't fail book if tests fail or are unavailable
@$(MAKE) test || printf "${YELLOW}[WARN] Tests failed or unavailable, continuing with book generation${RESET}\n"

@rm -rf _book && mkdir -p _book

@if [ -f "_tests/coverage.json" ]; then \
Expand Down
Loading