-
Notifications
You must be signed in to change notification settings - Fork 3
/
mkdocs.yml
109 lines (103 loc) · 2.9 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
site_name: Pait
site_description: Pait(π tool) - Python Modern API Tools, easier to use web frameworks/write API routing
theme:
name: material
language: en
logo: assets/logo.png
favicon: assets/images/favicon.png
features:
- content.code.annotate
- content.code.copy
- content.tabs.link
- navigation.top
- navigation.path
- search.highlight
- search.share
- search.suggest
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode
repo_name: so1n/pait
repo_url: https://github.com/so1n/pait
edit_uri: ""
nav:
- Introduction: 'index.md'
- Type conversion and parameter validation:
- Introduction: '1_1_introduction.md'
- How to use Field: '1_2_how_to_use_field.md'
- How to use Type: '1_3_how_to_use_type.md'
- Depend: '1_4_depend.md'
- Exception: '1_5_exception.md'
- How to use Pait decorator: '2_how_to_use_pait.md'
- OpenAPI:
- OpenAPI: '3_1_openapi.md'
- OpenAPI Route: '3_2_openapi_route.md'
- Security: '3_3_security.md'
- Unit test helper: '4_unit_test_helper.md'
- Plugin:
- Introduction: '5_1_introduction.md'
- Parameter checking plugin: '5_2_param_check_plugin.md'
- Json response plugin: '5_3_json_response_plugin.md'
- Mock response plugin: '5_4_mock_json_response_check_plugin.md'
- Response caching plugin: '5_5_cache_response.md'
- How to customize plugins: '5_x_how_tp_customize_the_plugin.md'
- config: "6_config.md"
# - ecosystem: "7_ecosystem.md"
- Other: "8_other.md"
extra:
version:
provider: mike
alternate:
- name: English
link: /pait/
lang: en
- name: 中文
link: /pait-zh-doc/
lang: zh
social:
- icon: fontawesome/brands/github
link: https://github.com/so1n
plugins:
- search:
lang:
- en
- termynal:
prompt_literal_start:
- "$"
- ">"
markdown_extensions:
- admonition
- attr_list
- def_list
- meta
- md_in_html
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.details
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.snippets
extra_css:
- stylesheets/extra.css