Skip to content

Commit

Permalink
Fix broken cross-references (#4743)
Browse files Browse the repository at this point in the history
Co-authored-by: Volker Hilsenstein <volker.hilsenstein@embl.de>
  • Loading branch information
VolkerH and Volker Hilsenstein committed Nov 10, 2022
1 parent be72998 commit 2f090a5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/usage/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ as the value:

{!.tmp_examples/models_required_fields.md!}

Where `Field` refers to the [field function](schema.md#field-customisation).
Where `Field` refers to the [field function](schema.md#field-customization).

Here `a`, `b` and `c` are all required. However, use of the ellipses in `b` will not work well
with [mypy](mypy.md), and as of **v1.0** should be avoided in most cases.
Expand Down Expand Up @@ -471,7 +471,7 @@ Example of usage:

{!.tmp_examples/models_default_factory.md!}

Where `Field` refers to the [field function](schema.md#field-customisation).
Where `Field` refers to the [field function](schema.md#field-customization).

!!! warning
The `default_factory` expects the field type to be set.
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ The value of numerous common types can be restricted using `con*` type functions

{!.tmp_examples/types_constrained.md!}

Where `Field` refers to the [field function](schema.md#field-customisation).
Where `Field` refers to the [field function](schema.md#field-customization).

### Arguments to `conlist`
The following arguments are available when using the `conlist` type function
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/validation_decorator.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ To demonstrate all the above parameter types:

## Using Field to describe function arguments

[Field](schema.md#field-customisation) can also be used with `validate_arguments` to provide extra information about
[Field](schema.md#field-customization) can also be used with `validate_arguments` to provide extra information about
the field and validations. In general it should be used in a type hint with
[Annotated](schema.md#typingannotated-fields), unless `default_factory` is specified, in which case it should be used
as the default value of the field:
Expand Down

0 comments on commit 2f090a5

Please sign in to comment.