Update just-the-docs and feature flags docs

This commit is contained in:
Graham Esau 2024-08-20 23:09:19 +01:00
parent 8fa61b09a4
commit 564a5d8ae4
3 changed files with 3 additions and 2 deletions

View file

@ -6,6 +6,7 @@ permalink: /features/
# Feature Flags and Optional Dependencies
- `std` (enabled by default) - implements `JsonSchema` for types in the rust standard library (`JsonSchema` is still implemented on types in `core` and `alloc`, even when this feature is disabled). Disable this feature to use schemars in `no_std` environments.
- `derive` (enabled by default) - provides `#[derive(JsonSchema)]` macro
- `preserve_order` - keep the order of struct fields in `Schema` properties
- `raw_value` - implements `JsonSchema` for `serde_json::value::RawValue` (enables the serde_json `raw_value` feature)

View file

@ -10,7 +10,7 @@ source "https://rubygems.org"
# gem "jekyll", "~> 4.0.0"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
# gem "minima", "~> 2.5"
gem "just-the-docs", "= 0.8.2"
gem "just-the-docs", "= 0.9.0"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", group: :jekyll_plugins

View file

@ -27,7 +27,7 @@ url: "https://graham.cool" # the base hostname & protocol for your site, e.g. ht
permalink: pretty
# Build settings
remote_theme: pmarsceill/just-the-docs@v0.8.2
remote_theme: pmarsceill/just-the-docs@v0.9.0
markdown: CommonMarkGhPages
commonmark:
options: ["UNSAFE", "FOOTNOTES"]