-
Notifications
You must be signed in to change notification settings - Fork 9
/
mkdocs.yml
124 lines (115 loc) · 3.59 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
# Project information
site_name: "TTT2 Documentation"
site_description: "A Garry's Mod gamemode based on Trouble in Terrorist Town"
#site_url: 'https://'
# Repository
repo_name: "TTT2"
repo_url: https://github.com/TTT-2/TTT2/
edit_uri: https://github.com/TTT-2/docs/edit/main/docs/
# Configuration
theme:
name: "material"
language: "en"
features:
- tabs
- instant
- content.action.edit
- content.code.copy
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
# 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 system preference
font:
text: "Roboto"
code: "Roboto Mono"
validation:
links:
absolute_links: relative_to_docs
anchors: warn
unrecognized_links: warn
# Navigation
nav:
- General:
- TTT2: "index.md"
- Troubleshooting: "troubleshooting/index.md"
- Role Overview: "general/roles.md"
- Migrating: "general/migrating.md"
- Server Owners:
- Using TTT2: "server-owners/index.md"
- Serverinstall Guides:
- "server-owners/manual-install.md"
- Developers:
- Creating new Content: "developers/index.md"
- Basics:
- "developers/basics/creating-an-addon.md"
- "developers/basics/code-style.md"
- Content Creation:
- "developers/content-creation/icon-and-design-guideline.md"
- "developers/content-creation/creating-a-role.md"
- "developers/content-creation/creating-a-class.md"
- "developers/content-creation/creating-an-item.md"
- "developers/content-creation/creating-a-weapon.md"
- "developers/content-creation/creating-a-hudelement.md"
- "developers/content-creation/creating-a-hud-theme.md"
- "developers/content-creation/sidebar-population.md"
- "developers/content-creation/using-targetid.md"
- "developers/content-creation/using-event-system.md"
- "developers/content-creation/using-karma.md"
- "developers/content-creation/vskin.md"
- "developers/content-creation/language-support.md"
- "developers/content-creation/sql-orm.md"
# Customization
extra:
manifest: "manifest.webmanifest"
social:
- icon: "fontawesome/brands/github-alt"
link: "https://github.com/TTT-2"
- icon: "fontawesome/brands/steam"
link: "https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556"
# Extensions
markdown_extensions:
- markdown.extensions.admonition
- markdown.extensions.codehilite:
guess_lang: false
linenums: true
- markdown.extensions.def_list
- markdown.extensions.footnotes
- markdown.extensions.meta
- markdown.extensions.toc:
permalink: true
- pymdownx.arithmatex
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:pymdownx.emoji.twemoji
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink:
repo_url_shorthand: true
user: TTT-2
repo: TTT2
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tabbed
- pymdownx.tilde