Files
pydantic/mkdocs.yml
T
Eric Jolibois 4be3f45e20 chore(deps): bump mkdocs (#3168)
* chore(deps-dev): bump mkdocs requirements

* fix: google analytics

`google_analytics` is deprecated and mkdocs raises an error in strict mode
Switched to new syntax
https://github.com/squidfunk/mkdocs-material/issues/2055
https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics
2021-10-12 22:46:47 +01:00

85 lines
1.9 KiB
YAML

site_name: pydantic
site_description: Data validation and settings management using python 3.6 type hinting
strict: true
site_url: https://pydantic-docs.helpmanual.io/
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"
logo: 'logo-white.svg'
favicon: 'favicon.png'
repo_name: samuelcolvin/pydantic
repo_url: https://github.com/samuelcolvin/pydantic
extra:
analytics:
provider: google
property: UA-62733018-4
extra_css:
- 'extra/terminal.css'
- 'extra/tweaks.css'
extra_javascript:
- 'extra/redirects.js'
- 'extra/ad.js'
nav:
- Overview: index.md
- install.md
- Usage:
- usage/models.md
- 'Field Types': usage/types.md
- usage/validators.md
- 'Model Config': usage/model_config.md
- usage/schema.md
- usage/exporting_models.md
- usage/dataclasses.md
- usage/validation_decorator.md
- 'Settings management': usage/settings.md
- usage/postponed_annotations.md
- 'Usage with mypy': usage/mypy.md
- 'Usage with devtools': usage/devtools.md
- Contributing to pydantic: contributing.md
- benchmarks.md
- 'Mypy plugin': mypy_plugin.md
- 'PyCharm plugin': pycharm_plugin.md
- 'Visual Studio Code': visual_studio_code.md
- 'Hypothesis plugin': hypothesis_plugin.md
- 'Code Generation': datamodel_code_generator.md
- changelog.md
markdown_extensions:
- markdown_include.include:
base_path: docs
- toc:
permalink: 🔗
- admonition
- pymdownx.highlight
- pymdownx.extra
- mdx_truly_sane_lists
plugins:
- search
- exclude:
glob:
- _build/*
- build/*
- examples/*
- requirements.txt