forked from pydantic/pydantic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
160 lines (152 loc) · 4.64 KB
/
mkdocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
site_name: pydantic
site_description: Data validation using Python type hints
strict: true
site_url: https://docs.pydantic.dev/
theme:
name: 'material'
custom_dir: 'docs/theme'
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: pink
accent: pink
toggle:
icon: material/lightbulb-outline
name: "Switch to dark mode"
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: pink
accent: pink
toggle:
icon: material/lightbulb
name: "Switch to light mode"
features:
- content.tabs.link
- announce.dismiss
- navigation.tabs
logo: 'logo-white.svg'
favicon: 'favicon.png'
repo_name: pydantic/pydantic
repo_url: https://github.com/pydantic/pydantic
edit_uri: edit/main/docs/
extra:
analytics:
provider: google
property: UA-62733018-4
extra_css:
- 'extra/terminal.css'
- 'extra/tweaks.css'
extra_javascript:
- 'extra/redirects.js'
nav:
- Get Started:
- Welcome to pydantic: index.md
- Installation: install.md
- Migration Guide: migration.md
- changelog.md
- Usage:
- usage/models.md
- Field Types:
- Types Overview: usage/types/types.md
- Standard Library Types: usage/types/standard_types.md
- Booleans: usage/types/booleans.md
- ByteSize: usage/types/bytesize.md
- Callables: usage/types/callables.md
- Color Types: usage/types/color_types.md
- Datetimes: usage/types/datetime.md
- Dicts and Mapping: usage/types/dicts_mapping.md
- Enums and Choices: usage/types/enums.md
- File Types: usage/types/file_types.md
- JSON: usage/types/json.md
- Lists and Tuples: usage/types/list_types.md
- Number Types: usage/types/number_types.md
- Payment Card Numbers: usage/types/payment_cards.md
- Secret Types: usage/types/secrets.md
- Sequence, Iterable, & Iterator: usage/types/sequence_iterable.md
- Sets and frozenset: usage/types/set_types.md
- String Types: usage/types/string_types.md
- Type and TypeVar: usage/types/typevars.md
- Types with Fields: usage/types/types_fields.md
- Unions: usage/types/unions.md
- URLs: usage/types/urls.md
- UUIDs: usage/types/uuids.md
- Custom Data Types: usage/types/custom.md
- usage/validators.md
- 'Model Config': usage/model_config.md
- usage/schema.md
- usage/exporting_models.md
- usage/computed_fields.md
- usage/dataclasses.md
- usage/validation_decorator.md
- usage/postponed_annotations.md
- Errors:
- Usage Errors: usage/errors.md
- Validation Errors: usage/validation_errors.md
- usage/conversion_table.md
- Integrations:
- 'Mypy': integrations/mypy.md
- 'PyCharm': integrations/pycharm.md
- 'Hypothesis': integrations/hypothesis.md
- 'Visual Studio Code': integrations/visual_studio_code.md
- 'datamodel-code-generator': integrations/datamodel_code_generator.md
- 'devtools': integrations/devtools.md
- 'Rich': integrations/rich.md
- Contribute: contributing.md
- Blog:
- blog/pydantic-v2.md
- API:
- 'pydantic.analyzed_type': api/analyzed_type.md
- 'pydantic.color': api/color.md
- 'pydantic.config': api/config.md
- 'pydantic.dataclasses': api/dataclasses.md
- 'pydantic.validate_call': api/validate_call.md
- 'pydantic.decorators': api/decorators.md
- 'pydantic.errors': api/errors.md
- 'pydantic.fields': api/fields.md
- 'pydantic.json_schema': api/json_schema.md
- 'pydantic.main': api/main.md
- 'pydantic.mypy': api/mypy.md
- 'pydantic.networks': api/networks.md
- 'pydantic.types': api/types.md
- 'pydantic.version': api/version.md
markdown_extensions:
- tables
- toc:
permalink: true
title: Page contents
- admonition
- pymdownx.highlight
- pymdownx.extra
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.tabbed:
alternate_style: true
watch:
- pydantic
plugins:
- search
- exclude:
glob:
- theme/announce.html
- plugins/*
- __pycache__/*
- mkdocstrings:
handlers:
python:
path: .
- mkdocs-simple-hooks:
hooks:
on_pre_build: 'docs.plugins.main:on_pre_build'
on_files: 'docs.plugins.main:on_files'
on_page_markdown: 'docs.plugins.main:on_page_markdown'
- redirects:
redirect_maps:
'usage/mypy.md': 'integrations/mypy.md'
'mypy_plugin.md': 'integrations/mypy.md'
'datamodel_code_generator.md': 'integrations/datamodel_code_generator.md'
'visual_studio_code.md': 'integrations/visual_studio_code.md'
'hypothesis_plugin.md': 'integrations/hypothesis.md'
'pycharm_plugin.md': 'integrations/pycharm.md'
'usage/devtools.md': 'integrations/devtools.md'
'usage/rich.md': 'integrations/rich.md'