forked from hikari-py/hikari
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
159 lines (147 loc) · 3.97 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
site_name: hikari
site_url: https://docs.hikari-py.dev/
site_dir: public/docs
repo_url: https://github.com/hikari-py/hikari/
repo_name: hikari-py/hikari
edit_uri: blob/master/docs/
watch: [ hikari, README.md, CHANGELOG.md, changes/, scripts/docs ]
copyright: © 2021-present davfsa
#strict: true
theme:
name: material
font:
code: JetBrains Mono
logo: logo.png
favicon: logo.png
icon:
repo: fontawesome/brands/github
edit: material/pencil
view: material/eye
admonition:
note: octicons/tag-16
abstract: octicons/checklist-16
info: octicons/info-16
tip: octicons/squirrel-16
success: octicons/check-16
question: octicons/question-16
warning: octicons/alert-16
failure: octicons/x-circle-16
danger: octicons/zap-16
bug: octicons/bug-16
example: octicons/beaker-16
quote: octicons/quote-16
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: deep purple
accent: deep purple
toggle:
icon: material/lightbulb
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: deep purple
accent: deep purple
toggle:
icon: material/lightbulb-outline
name: Switch to light mode
features:
- content.tabs.link
- search.highlight
- search.suggest
- search.share
- content.action.edit
- navigation.tabs
- navigation.indexes
- navigation.top
- toc.follow
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- meta
- md_in_html
- toc:
permalink: "#"
# Python Markdown Extensions
- pymdownx.snippets
- pymdownx.caret
- pymdownx.details
- pymdownx.keys
- pymdownx.mark
- pymdownx.superfences
- pymdownx.tilde
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.betterem:
smart_enable: all
- pymdownx.tabbed:
alternate_style: true
combine_header_slug: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.tasklist:
custom_checkbox: true
plugins:
- autorefs
- search
- minify:
minify_html: true
htmlmin_opts:
remove_comments: true
cache_safe: true
# - glightbox:
# touchNavigation: true
# loop: false
# effect: zoom
# slide_effect: slide
# width: 100%
# height: auto
# zoomable: true
# draggable: true
# auto_caption: false
# caption_position: bottom
# skip_classes:
# - no-lightbox
- towncrier:
hide_if_empty: !ENV [HIDE_EMPTY_TOWNCRIER_DRAFT, true]
- gen-files:
scripts:
- scripts/docs/gen_ref_pages.py
- literate-nav:
nav_file: summary.md
- mkdocstrings:
enabled: !ENV [ENABLE_MKDOCSTRINGS, true]
default_handler: python
enable_inventory: true
handlers:
python:
import:
- https://docs.python.org/3/objects.inv
- https://docs.aiohttp.org/en/stable/objects.inv
- https://www.attrs.org/en/stable/objects.inv
- https://multidict.readthedocs.io/en/stable/objects.inv
- https://yarl.readthedocs.io/en/stable/objects.inv
options:
filters: ["!^_"]
heading_level: 3
annotations_path: brief
docstring_section_style: spacy
docstring_style: numpy
inherited_members: false
merge_init_into_class: true
separate_signature: true
show_signature_annotations: true
show_source: false
show_submodules: false
signature_crossrefs: true
show_symbol_type_heading: true
show_symbol_type_toc: true
# show_root_toc_entry: false
find_stubs_package: true
extensions:
- griffe_inherited_docstrings