Fix styling of docs site
Pin version of just-the-docs so it doesn't change itself again!
This commit is contained in:
parent
755368fc3a
commit
b8c548136a
6 changed files with 54 additions and 187 deletions
|
@ -18,7 +18,11 @@ You can add attributes to your types to customize Schemars's derived `JsonSchema
|
|||
|
||||
Serde also allows setting `#[serde(...)]` attributes which change how types are serialized, and Schemars will generally respect these attributes to ensure that generated schemas will match how the type is serialized by serde_json. `#[serde(...)]` attributes can be overriden using `#[schemars(...)]` attributes, which behave identically (e.g. `#[schemars(rename_all = "camelCase")]`). You may find this useful if you want to change the generated schema without affecting Serde's behaviour, or if you're just not using Serde.
|
||||
|
||||
## Table of Contents
|
||||
<details open>
|
||||
<summary style="font-weight: bold">
|
||||
TABLE OF CONTENTS
|
||||
</summary>
|
||||
|
||||
1. [Supported Serde Attributes](#supported-serde-attributes)
|
||||
- [`rename`](#rename)
|
||||
- [`rename_all`](#rename_all)
|
||||
|
@ -35,6 +39,7 @@ Serde also allows setting `#[serde(...)]` attributes which change how types are
|
|||
- [`example`](#example)
|
||||
- [`deprecated`](#deprecated)
|
||||
- [Doc Comments (`doc`)](#doc)
|
||||
</details>
|
||||
|
||||
## Supported Serde Attributes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue