Skip to content

Commit

Permalink
feat(just): drop book in favor of docs
Browse files Browse the repository at this point in the history
  • Loading branch information
W95Psp committed Jan 14, 2025
1 parent 558cb1f commit b8e0f69
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ _test *FLAGS:
test-review: (_ensure_command_in_path "cargo-insta" "Insta (https://insta.rs)")
cargo insta review

# Serve the book
book: (_ensure_command_in_path "mdbook" "mdBook (https://rust-lang.github.io/mdBook/)")
cd book && mdbook serve
# Serve documentation
docs: (_ensure_command_in_path "mkdocs" "mkdocs (https://www.mkdocs.org/)")
mkdocs serve

# Check the coherency between issues labeled `marked-unimplemented` on GitHub and issues mentionned in the engine in the `Unimplemented {issue_id: ...}` errors.
@check-issues:
Expand Down Expand Up @@ -114,3 +114,9 @@ _pager:
else
less
fi
# Serve the book
[private]
@book:
echo "We moved out from mdbook: please run 'just docs'"
exit 1

0 comments on commit b8e0f69

Please sign in to comment.