juniper/book
Kai Ren b3a7ffc6a2
Correct GraphQL scalars compliance for third-party crates (#1275)
- switch `LocalDateTime` scalars to `yyyy-MM-ddTHH:mm:ss` format in `chrono::NaiveDateTime` and `time::PrimitiveDateTime` types
- switch from `Date` scalar to `LocalDate` scalar in `chrono::NaiveDate` and `time::Date` types
- switch from `UtcDateTime` scalar to `DateTime` scalar in `bson::DateTime` type
- correct `TimeZone` scalar in `chrono_tz::Tz` type
- rename `Url` scalar to `URL` in `url::Url` type
- rename `Uuid` scalar to `UUID` in `uuid::Uuid` type
2024-08-16 01:30:05 +02:00
..
src Correct GraphQL scalars compliance for third-party crates (#1275) 2024-08-16 01:30:05 +02:00
.gitignore Rework CI and project toolchain (#1043) 2022-04-08 17:44:50 +03:00
book.toml Rework Book (#1230) 2024-03-20 15:53:25 +01:00
README.md Fix mdBook tests on Windows (rust-lang/rust#99466) 2022-11-02 16:32:50 +01:00

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 (from project root dir):

cargo build
mdbook test -L target/debug/deps

# or via shortcut:
make test.book