-
Notifications
You must be signed in to change notification settings - Fork 324
/
mkdocs.yml
93 lines (87 loc) · 2.29 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
site_name: FastUI
site_description: Build web application user interfaces defined by declarative Python code.
site_url: https://docs.pydantic.dev/fastui/
theme:
name: 'material'
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.code.annotate
- content.tabs.link
- content.code.copy
- announce.dismiss
- navigation.tabs
- search.suggest
- search.highlight
logo: assets/logo-white.svg
favicon: assets/favicon.png
repo_name: pydantic/FastUI
repo_url: https://github.com/pydantic/FastUI
edit_uri: ''
# https://www.mkdocs.org/user-guide/configuration/#validation
validation:
omitted_files: warn
absolute_links: warn
unrecognized_links: warn
extra_css:
- 'extra/tweaks.css'
# TODO: add flarelytics support
# extra_javascript:
# - '/flarelytics/client.js'
markdown_extensions:
- toc:
permalink: true
- admonition
- pymdownx.details
- pymdownx.extra
- pymdownx.superfences
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- attr_list
- md_in_html
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
watch:
- src
plugins:
- search
- mkdocstrings:
handlers:
python:
paths:
- src/python-fastui
options:
members_order: source
separate_signature: true
docstring_options:
ignore_init_summary: true
merge_init_into_class: true
show_signature_annotations: true
signature_crossrefs: true
- mkdocs-simple-hooks:
hooks:
on_pre_build: 'docs.plugins:on_pre_build'
on_files: 'docs.plugins:on_files'
on_page_markdown: 'docs.plugins:on_page_markdown'
nav:
- Introduction: index.md
- Guide: guide.md
- API Documentation:
- Python Components: api/python_components.md
- TypeScript Components: api/typescript_components.md