-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmkdocs.yml
73 lines (69 loc) · 2.09 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
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
site_name: GodotJS
site_url: https://godotjs.github.io
repo_url: https://github.com/godotjs/javascript
site_description: JS/TS language binding for Godot
extra_css:
- css/extra.css
nav:
- Home: index.md
- Docs:
- Getting Started: documentation/getting-started.md
- API: documentation/api.md
- TypeScript:
- Intro: documentation/typescript/intro.md
- GodotTS: documentation/typescript/godot-ts.md
- Decorators: documentation/typescript/decorators.md
- NPM Modules: documentation/typescript/npm-modules.md
- Gotchas: documentation/gotchas.md
- Examples:
- Load JSON in Singleton: examples/load-json-in-singleton.md
- Read file local: examples/read-file-local.md
- Use GDScript in JS or TS: examples/use-gdscript-in-js-or-ts.md
theme:
name: material
favicon: assets/images/favicon.ico
logo: assets/images/godot-js.png
icon:
repo: fontawesome/brands/github
features:
- navigation.tabs
- navigation.instant
- navigation.instant.prefetch
- navigation.path
- navigation.top
- search.suggest
- search.highlight
- content.code.copy
- content.tabs.link
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
primary: black
toggle:
icon: material/brightness-auto
name: Switch to light mode
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: black
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
toggle:
icon: material/brightness-4
name: Switch to system preference
markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true