bea94398e8
- switch from `skeptic` to mdBook native tests - refactor `juniper_integration_tests` to be granular - make `cargo test` command fully compatible with stable Rust - adjust outdated Contribution Guide Additionally: - fix codegen tests on latest nightly Rust
832 B
832 B
Juniper Book
Book containing the juniper
user guide.
Contributing
Requirements
The Book is built with mdBook.
You may install it with:
cargo install mdbook
Local test server
To launch a local test server that continually re-builds the Book and auto-reloads the page, run:
mdbook serve
# or from project root dir:
make book.serve
Building
You may build the Book to rendered HTML with this command:
mdbook build
# or from project root dir:
make book
The output will be in the _rendered/
directory.
Testing
To run the tests validating all code examples in the book, run:
mdbook test -L ../target/debug/deps
# or via shortcut from project root dir:
make test.book