Skip to content

Commit 2d640ca

Browse files
committed
book: use mkdocs instead of mdbook
1 parent ff380a1 commit 2d640ca

File tree

17 files changed

+966
-476
lines changed

17 files changed

+966
-476
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
.PHONY: book
2+
13
precommit:
24
@bash .githooks/pre-push
35

46
clean:
57
cargo clean
68

9+
book:
10+
cd book && make build
11+
712
loc:
813
@echo "--- Counting lines of .rs files (LOC):" && find crates/ bindings/ -type f -name "*.rs" -exec cat {} \; | wc -l

book/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
book
1+
site/

book/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
init:
2-
cargo install mdbook --version 0.4.34 --locked
3-
cargo install mdbook-admonish --version 1.12.1 --locked
2+
pip install -U poetry
3+
poetry install
44

55
build:
6-
mdbook build
6+
poetry run mkdocs build --strict --clean --verbose
77

88
serve:
9-
mdbook serve
9+
mkdocs serve

book/README.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)