From 564a5d8ae4049b13ab70b0146717800481bb3a72 Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Tue, 20 Aug 2024 23:09:19 +0100 Subject: [PATCH] Update just-the-docs and feature flags docs --- docs/4-features.md | 1 + docs/Gemfile | 2 +- docs/_config.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/4-features.md b/docs/4-features.md index 66ed1e2..2db74b6 100644 --- a/docs/4-features.md +++ b/docs/4-features.md @@ -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) diff --git a/docs/Gemfile b/docs/Gemfile index 0888f7a..8f1a5b5 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -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 diff --git a/docs/_config.yml b/docs/_config.yml index d0c1015..3f0afa0 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -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"]