-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
mkdocs.yml
243 lines (231 loc) · 7.66 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
site_name: Endstone
site_url: https://endstone.dev/
site_author: Vincent Wu
repo_name: EndstoneMC/endstone
repo_url: https://github.com/EndstoneMC/endstone
edit_uri: edit/main/docs/
copyright: Copyright © 2023 - 2024 EndstoneMC
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/EndstoneMC
- icon: fontawesome/brands/python
link: https://pypi.org/project/endstone
- icon: fontawesome/brands/docker
link: https://hub.docker.com/u/endstone
- icon: fontawesome/brands/x-twitter
link: https://twitter.com/endstone_mc
- icon: fontawesome/brands/discord
link: https://discord.gg/xxgPuc2XN9
version:
provider: mike
default: stable
alias: true
extra_css:
- stylesheets/extra.css
plugins:
- search
- git-revision-date-localized:
enabled: !ENV [ CI, false ]
enable_creation_date: true
exclude:
- reference/cpp/*
- git-committers:
enabled: !ENV [ CI, false ]
repository: EndstoneMC/endstone
branch: main
- mkdocstrings:
enabled: !ENV [ CI, false ]
custom_templates: docs/templates
handlers:
python:
paths: [ python/src ]
load_external_modules: true
import:
- https://docs.python.org/3/objects.inv
- https://numpy.org/doc/stable/objects.inv
options:
# general options
find_stubs_package: true
show_bases: true
show_source: false
allow_inspection: false
# headings options
show_root_heading: true
show_symbol_type_heading: true
show_symbol_type_toc: true
# member options
inherited_members: false
filters: [ "!^_" ]
merge_init_into_class: true
# docstrings options
show_if_no_docstring: true
# signature/annotations options:
annotations_path: brief
show_signature_annotations: true
signature_crossrefs: true
separate_signature: true
modernize_annotations: true
summary: true
# griffe extensions
extensions:
- griffe_endstone
- mkdoxy:
enabled: !ENV [ CI, false ]
projects:
"reference/cpp":
src-dirs: include/endstone/
full-doc: true
doxy-cfg:
FILE_PATTERNS: "*.h"
EXCLUDE_PATTERNS: "*/detail/*"
RECURSIVE: YES
STRIP_FROM_INC_PATH: "include/"
theme:
name: 'material'
custom_dir: docs/overrides
logo: assets/logo.png
favicon: assets/logo.png
features:
- announce.dismiss
- content.action.edit
- content.action.view
- content.code.annotate
- content.code.copy
- content.tabs.link
- navigation.footer
- navigation.indexes
# - navigation.instant
# - navigation.instant.prefetch
# - navigation.instant.progress
# - navigation.prune
- navigation.sections
- navigation.tabs
# - navigation.tabs.sticky
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: custom
accent: custom
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: custom
accent: custom
toggle:
icon: material/brightness-4
name: Switch to light mode
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- toc:
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:material.extensions.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink:
normalize_issue_symbols: true
repo_url_shorthand: true
user: squidfunk
repo: mkdocs-material
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.snippets:
auto_append:
- includes/mkdocs.md
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
combine_header_slug: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
nav:
- Home: index.md
- Getting Started:
- Installation: getting-started/installation.md
- Start your server: getting-started/start-your-server.md
- Project structure: getting-started/project-structure.md
- Contributing: getting-started/contributing.md
- Tutorials:
- Create your first plugin: tutorials/create-your-first-plugin.md
- Install your plugin: tutorials/install-your-plugin.md
- Use color codes: tutorials/use-color-codes.md
- Register commands: tutorials/register-commands.md
- Register event listeners: tutorials/register-event-listeners.md
- Schedule tasks: tutorials/schedule-tasks.md
- Publish your plugin: tutorials/publish-your-plugin.md
- Reference:
- reference/index.md
- Python API:
- Server: reference/python/server.md
- Player: reference/python/player.md
- Actor: reference/python/actor.md
- Block: reference/python/block.md
- Boss: reference/python/boss.md
- Command: reference/python/command.md
- Event: reference/python/event.md
- Form: reference/python/form.md
- Language: reference/python/lang.md
- Level: reference/python/level.md
- Inventory: reference/python/inventory.md
- Network: reference/python/network.md
- Permissions: reference/python/permissions.md
- Plugin: reference/python/plugin.md
- Scoreboard: reference/python/scoreboard.md
- Scheduler: reference/python/scheduler.md
- Miscellaneous: reference/python/misc.md
- C++ API:
- Classes:
- Class List: reference/cpp/annotated.md
- Class Index: reference/cpp/classes.md
- Class Hierarchy: reference/cpp/hierarchy.md
- Class Members: reference/cpp/class_members.md
- Class Member Functions: reference/cpp/class_member_functions.md
- Class Member Variables: reference/cpp/class_member_variables.md
- Class Member Typedefs: reference/cpp/class_member_typedefs.md
- Class Member Enumerations: reference/cpp/class_member_enums.md
- Namespaces:
- Namespace List: reference/cpp/namespaces.md
- Namespace Members: reference/cpp/namespace_members.md
- Namespace Member Functions: reference/cpp/namespace_member_functions.md
- Namespace Member Variables: reference/cpp/namespace_member_variables.md
- Namespace Member Typedefs: reference/cpp/namespace_member_typedefs.md
- Namespace Member Enumerations: reference/cpp/namespace_member_enums.md
- Files:
- File List: reference/cpp/files.md
- File Functions: reference/cpp/functions.md
- File Variables: reference/cpp/variables.md
- File Macros: reference/cpp/macros.md
- Changelog: changelog.md