Skip to content

Commit 628213f

Browse files
committed
Add mkdocs.yaml
1 parent 8b4a67f commit 628213f

File tree

1 file changed

+242
-0
lines changed

1 file changed

+242
-0
lines changed

mkdocs.yaml

Lines changed: 242 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,242 @@
1+
site_name: Reflect-cpp
2+
site_description: fast serialization, deserialization and validation using reflection.
3+
strict: true
4+
site_url: https://docs.reflect-cpp.dev/
5+
6+
theme:
7+
name: 'material'
8+
#custom_dir: 'docs/theme'
9+
palette:
10+
- media: "(prefers-color-scheme)"
11+
toggle:
12+
icon: material/brightness-5
13+
name: "Switch to light mode"
14+
- media: "(prefers-color-scheme: light)"
15+
scheme: default
16+
primary: deep purple
17+
accent: deep purple
18+
toggle:
19+
icon: material/brightness-2
20+
name: "Switch to dark mode"
21+
- media: "(prefers-color-scheme: dark)"
22+
scheme: slate
23+
primary: black
24+
accent: deep purple
25+
toggle:
26+
icon: material/brightness-6
27+
name: "Switch to system preference"
28+
font:
29+
text: Roboto
30+
code: Roboto Mono
31+
features:
32+
- content.tabs.link
33+
- content.code.annotate
34+
- content.code.copy
35+
- announce.dismiss
36+
- navigation.tabs
37+
- navigation.instant
38+
- navigation.instant.prefetch
39+
- navigation.instant.preview
40+
- navigation.instant.progress
41+
- navigation.path
42+
- navigation.top
43+
- navigation.tracking
44+
- search.suggest
45+
- toc.follow
46+
logo: 'reflect-cpp-head.png'
47+
logo_dark_mode: "reflect-cpp-white.png"
48+
favicon: 'banner2.png'
49+
50+
repo_name: getml/reflect-cpp
51+
repo_url: https://github.com/getml/reflect-cpp
52+
edit_uri: edit/main/docs/
53+
extra:
54+
version:
55+
provider: patrick
56+
#analytics:
57+
# feedback:
58+
# title: Was this page helpful?
59+
# ratings:
60+
# - icon: material/thumb-up-outline
61+
# name: This page was helpful
62+
# data: 1
63+
# note: >-
64+
# Thanks for your feedback!
65+
# - icon: material/thumb-down-outline
66+
# name: This page could be improved
67+
# data: 0
68+
# note: >-
69+
# Thanks for your feedback!
70+
71+
# https://www.mkdocs.org/user-guide/configuration/#validation
72+
#validation:
73+
# omitted_files: warn
74+
# absolute_links: warn
75+
# unrecognized_links: warn
76+
77+
extra_css:
78+
- 'assets/stylesheets/tweaks.css'
79+
# - 'extra/terminal.css'
80+
#extra_javascript:
81+
# - 'extra/feedback.js'
82+
# - 'extra/fluff.js'
83+
# - 'https://samuelcolvin.github.io/mkdocs-run-code/run_code_main.js'
84+
85+
exclude_docs: |
86+
README.md
87+
88+
nav:
89+
- Overview:
90+
- Welcome to Reflect-cpp: index.md
91+
- Why use Reflect-cpp: why.md
92+
- Installation: install.md
93+
- Contributing: contributing.md
94+
- Changelog: changelog.md
95+
- Concepts:
96+
- Structs: concepts/structs.md
97+
- Custom Classes: concepts/custom_classes.md
98+
- Fields: concepts/field_syntax.md
99+
- Type: concepts/types.md
100+
- Processors: concepts/processors.md
101+
- Serialization: concepts/serialization.md
102+
- Validators: concepts/validators.md
103+
- Errors handling: concepts/errors.md
104+
- Supported Formats:
105+
- BSON: concepts/supported_formats/bson.md
106+
- CBOR: concepts/supported_formats/cbor.md
107+
- FlexBuffers: concepts/supported_formats/flexbuffers.md
108+
- JSON: concepts/supported_formats/json.md
109+
- JSON Schema: concepts/supported_formats/json_schema.md
110+
- MessagePack: concepts/supported_formats/msgpack.md
111+
- TOML: concepts/supported_formats/toml.md
112+
- XML: concepts/supported_formats/xml.md
113+
- YAML: concepts/supported_formats/yaml.md
114+
- Custom Format: concepts/supported_formats/supporting_your_own_format.md
115+
- Reflective Programming: ./reflective_programming.md
116+
- People: people.md
117+
118+
markdown_extensions:
119+
- tables
120+
- toc:
121+
permalink: true
122+
title: Page contents
123+
- admonition
124+
- pymdownx.details
125+
- pymdownx.superfences
126+
- pymdownx.highlight:
127+
pygments_lang_class: true
128+
- pymdownx.extra
129+
- pymdownx.emoji:
130+
emoji_index: !!python/name:material.extensions.emoji.twemoji
131+
emoji_generator: !!python/name:material.extensions.emoji.to_svg
132+
- pymdownx.tabbed:
133+
alternate_style: true
134+
135+
watch:
136+
- docs
137+
138+
plugins:
139+
#- mike:
140+
# alias_type: symlink
141+
# canonical_version: latest
142+
- search
143+
#- exclude:
144+
# glob:
145+
# - theme/announce.html
146+
# - plugins/*
147+
# - __pycache__/*
148+
#- mkdocstrings:
149+
# handlers:
150+
# python:
151+
# paths: [.]
152+
# options:
153+
# members_order: source
154+
# separate_signature: true
155+
# filters: ["!^_"]
156+
# docstring_options:
157+
# ignore_init_summary: true
158+
# merge_init_into_class: true
159+
# show_signature_annotations: true
160+
# signature_crossrefs: true
161+
# extensions:
162+
# - docs/plugins/griffe_doclinks.py
163+
# import:
164+
# - https://docs.python.org/3/objects.inv
165+
#- mkdocs-simple-hooks:
166+
# hooks:
167+
# on_pre_build: 'docs.plugins.main:on_pre_build'
168+
# on_files: 'docs.plugins.main:on_files'
169+
# on_page_markdown: 'docs.plugins.main:on_page_markdown'
170+
#- redirects:
171+
# redirect_maps:
172+
# 'usage/mypy.md': 'integrations/mypy.md'
173+
# 'mypy_plugin.md': 'integrations/mypy.md'
174+
# 'datamodel_code_generator.md': 'integrations/datamodel_code_generator.md'
175+
# 'visual_studio_code.md': 'integrations/visual_studio_code.md'
176+
# 'hypothesis_plugin.md': 'integrations/hypothesis.md'
177+
# 'pycharm_plugin.md': 'integrations/pycharm.md'
178+
# 'usage/model_config.md': 'api/config.md'
179+
# 'usage/devtools.md': 'integrations/devtools.md'
180+
# 'usage/rich.md': 'integrations/rich.md'
181+
# 'usage/linting.md': 'integrations/linting.md'
182+
# 'usage/types.md': 'concepts/types.md'
183+
# 'usage/types/secrets.md': 'examples/secrets.md'
184+
# 'usage/types/string_types.md': 'api/types.md#pydantic.types.StringConstraints'
185+
# 'usage/types/file_types.md': 'api/types.md#pydantic.types.FilePath'
186+
# 'api/main.md': 'api/base_model.md'
187+
# 'api/color.md': 'api/pydantic_extra_types_color.md'
188+
# 'api/alias_generators.md': 'api/config.md#pydantic.config.ConfigDict.alias_generator'
189+
# 'api/pydantic_core_init.md': 'api/pydantic_core.md'
190+
# 'usage/types/booleans.md': 'api/standard_library_types.md#booleans'
191+
# 'usage/types/callables.md': 'api/standard_library_types.md#callable'
192+
# 'usage/types/custom.md': 'concepts/types.md#custom-types'
193+
# 'usage/types/datetime.md': 'api/standard_library_types.md#datetime-types'
194+
# 'usage/types/enum.md': 'api/standard_library_types.md#enum'
195+
# 'usage/types/json.md': 'api/types.md#pydantic.types.Json'
196+
# 'usage/types/list_types.md': 'api/standard_library_types.md#list'
197+
# 'usage/types/standard_types.md': 'api/standard_library_types.md'
198+
# 'usage/types/strict_types.md': 'concepts/types.md#strict-types'
199+
# 'usage/types/types.md': 'concepts/types.md'
200+
# 'usage/types/urls.md': 'api/networks.md'
201+
# 'usage/types/unions.md': 'api/standard_library_types.md#union'
202+
# 'usage/types/typevars.md': 'api/standard_library_types.md#type-and-typevar'
203+
# 'usage/types/types_fields.md': 'api/standard_library_types.md'
204+
# 'usage/validation_errors.md': 'errors/validation_errors.md'
205+
# 'usage/errors.md': 'errors/usage_errors.md'
206+
# 'usage/types/extra_types/color_types.md': 'api/pydantic_extra_types_color.md'
207+
# 'usage/types/extra_types/extra_types.md': 'api/pydantic_extra_types_color.md'
208+
# 'usage/types/extra_types/coordinate.md': 'api/pydantic_extra_types_coordinate.md'
209+
# 'usage/types/extra_types/mac_address.md': 'api/pydantic_extra_types_mac_address.md'
210+
# 'usage/types/extra_types/payment_cards.md': 'api/pydantic_extra_types_payment.md'
211+
# 'usage/types/extra_types/phone_numbers.md': 'api/pydantic_extra_types_phone_numbers.md'
212+
# 'usage/types/extra_types/routing_numbers.md': 'api/pydantic_extra_types_routing_numbers.md'
213+
# 'version-compatibility.md': 'version-policy.md'
214+
# 'api/pydantic_extra_types_routing_number.md': 'api/pydantic_extra_types_routing_numbers.md'
215+
# 'usage/computed_fields.md': 'api/fields.md#pydantic.fields.computed_field'
216+
# 'usage/conversion_table.md': 'concepts/conversion_table.md'
217+
# 'usage/dataclasses.md': 'concepts/dataclasses.md'
218+
# 'usage/fields.md': 'concepts/fields.md'
219+
# 'usage/json_schema.md': 'concepts/json_schema.md'
220+
# 'usage/models.md': 'concepts/models.md'
221+
# 'usage/postponed_annotations.md': 'concepts/postponed_annotations.md'
222+
# 'usage/pydantic_settings.md': 'concepts/pydantic_settings.md'
223+
# 'usage/serialization.md': 'concepts/serialization.md'
224+
# 'usage/strict_mode.md': 'concepts/strict_mode.md'
225+
# 'usage/type_adapter.md': 'concepts/type_adapter.md'
226+
# 'usage/validation_decorator.md': 'concepts/validation_decorator.md'
227+
# 'usage/validators.md': 'concepts/validators.md'
228+
# 'usage/types/bytesize.md': 'api/types.md#pydantic.types.ByteSize'
229+
# 'usage/types/dicts_mapping.md': 'api/standard_library_types.md#mapping-types'
230+
# 'usage/types/encoded.md': 'api/types.md#pydantic.types.EncodedBytes'
231+
# 'usage/types/enums.md': 'api/standard_library_types.md#enum'
232+
# 'usage/types/number_types.md': 'api/standard_library_types.md#number-types'
233+
# 'usage/types/sequence_iterable.md': 'api/standard_library_types.md#other-iterables'
234+
# 'usage/types/set_types.md': 'api/standard_library_types.md#sets'
235+
# 'usage/types/uuids.md': 'api/standard_library_types.md#uuid'
236+
# 'blog/pydantic-v2-alpha.md': 'https://blog.pydantic.dev/blog/2023/04/03/pydantic-v2-pre-release/'
237+
# 'blog/pydantic-v2-final.md': 'https://blog.pydantic.dev/blog/2023/06/30/pydantic-v2-is-here/'
238+
# 'blog/pydantic-v2.md': 'https://blog.pydantic.dev/blog/2022/07/10/pydantic-v2-plan/'
239+
#- external-markdown:
240+
241+
hooks:
242+
- 'docs/plugins/main.py'

0 commit comments

Comments
 (0)