-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmkdocs.yml
259 lines (240 loc) · 10.1 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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
site_name: Switch2OSM
site_url: https://andygol.co.ua/switch2osm-mkdocs
repo_url: https://github.com/Andygol/switch2osm-mkdocs
repo_name: Andygol/switch2osm-mkdocs
edit_uri: edit/main/docs/
copyright: © 2013–2023 OpenStreetMap and contributors, <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.0/" target="_blank"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/2.0/80x15.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.0/" target="_blank">Creative Commons Attribution-ShareAlike 2.0 Generic License</a>.
extra_css:
- stylesheets/extra.css
theme:
name: material
favicon: assets/favicon.png
icon:
logo: simple/openstreetmap
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/theme-light-dark
name: Switch to light mode
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
primary: lime
scheme: default
accent: deep orange
toggle:
icon: material/weather-sunny
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
primary: black
scheme: slate
accent: amber
toggle:
icon: material/weather-night
name: Switch to system preference
features:
- navigation.tracking
- navigation.tabs
- navigation.tabs.sticky
- navigation.top
- navigation.footer
- search.suggest
- toc.follow
- content.action.edit
- content.action.view
- content.code.copy
- announce.dismiss
extra:
social:
- icon: material/translate
link: https://app.transifex.com/osm-ua/switch2osm/dashboard/#/
- icon: fontawesome/solid/globe
link: https://openstreetmap.org/
- icon: fontawesome/brands/discourse
link: https://community.openstreetmap.org/
- icon: fontawesome/brands/x-twitter
link: https://twitter.com/openstreetmap
- icon: fontawesome/brands/facebook
link: https://www.facebook.com/OpenStreetMap/
markdown_extensions:
# Python Markdown
- abbr
- admonition
- attr_list
- def_list
- footnotes
- toc:
permalink: ⚓︎
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: none
# Python Markdown Extensions
- pymdownx.blocks.html
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.mark
- pymdownx.tilde
- pymdownx.snippets
- pymdownx.superfences
nav:
- Home: index.md
- Why: why-switch.md
- Cases: case-studies.md
- Basics: the-basics.md
- Using:
# - Own tiles: using-tiles/index.md
- using-tiles/index.md
- Leaflet: using-tiles/getting-started-with-leaflet.md
- OpenLayers: using-tiles/getting-started-with-openlayers.md
- Vector Tiles: using-tiles/vector-map-tiles.md
- Serving:
# - Serving tiles: serving-tiles/index.md
- serving-tiles/index.md
- Manually:
- Debian 12: serving-tiles/manually-building-a-tile-server-debian-12.md
- Debian 11: serving-tiles/manually-building-a-tile-server-debian-11.md
- Ubuntu 24.04: serving-tiles/manually-building-a-tile-server-ubuntu-24-04-lts.md
- Ubuntu 22.04: serving-tiles/manually-building-a-tile-server-ubuntu-22-04-lts.md
- Ubuntu 20.04: serving-tiles/manually-building-a-tile-server-ubuntu-20-04-lts.md
- Ubuntu 18.04: serving-tiles/manually-building-a-tile-server-ubuntu-18-04-lts.md
- Docker: serving-tiles/using-a-docker-container.md
- Munin: serving-tiles/monitoring-using-munin.md
- Updating:
- osm2pgsql: serving-tiles/updating-as-people-edit-osm2pgsql-replication.md
- pyosmium: serving-tiles/updating-as-people-edit-pyosmium.md
- osmosis: serving-tiles/updating-as-people-edit-osmosis.md
- Serving vector tiles:
- Steps: serving-tiles/serving-vector-tiles.md
- TileServer GL: serving-tiles/serving-vector-tiles-with-tileserver-gl.md
- Other: other-uses.md
- Providers: providers.md
- More: find-out-more.md
plugins:
- search:
lang:
- en
- uk
- zh-TW
- macros
- ezlinks
- glightbox
- section-index
# This part is for organising languages in specific folders
# Using a folder per language structure
# https://ultrabug.github.io/mkdocs-static-i18n/
- i18n:
docs_structure: folder
reconfigure_material: true
languages:
- locale: en
name: English
default: true
theme:
palette:
- toggle:
name: Switch to light mode
- toggle:
name: Switch to dark mode
- toggle:
name: Switch to system preference
copyright: © 2013–2023 OpenStreetMap and contributors, <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.0/" target="_blank"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/2.0/80x15.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.0/" target="_blank">Creative Commons Attribution-ShareAlike 2.0 Generic License</a>.
nav_translations:
Home: Switch2OSM
Why: Why Switch?
Cases: Case Studies
Basics: The Basics
Using: Using Tiles
# Own tiles: Switch to using OSM tiles
Leaflet: Getting started with Leaflet
OpenLayers: Getting started with OpenLayers
Vector Tiles: Power of Vector Map Tiles
Serving: Serving Tiles
# Serving tiles: Serving your own tiles
Manually: Manually building a tile server
Docker: Using a Docker container
Munin: Monitoring using Munin
Updating: Updating your database as people edit OpenStreetMap
Serving vector tiles: Vector Map Tiles
Steps: General steps
TileServer GL: Getting started with TileServer GL
Other: Other Uses
Providers: Providers
More: Getting help
- locale: uk
name: Українська
theme:
palette:
- toggle:
name: Увімкнути світлий режим
- toggle:
name: Увімкнути темний режим
- toggle:
name: Увімкнути режим системи
copyright: "© 2013–2023 Учасники OpenStreetMap, <a rel=\"license\" href=\"https://creativecommons.org/licenses/by-sa/2.0/deed.uk\" target=\"_blank\"><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-sa/2.0/80x15.png\" /></a><br />Матеріали цього сайту ліцензуються на умовах Ліцензії – <a rel=\"license\" href=\"https://creativecommons.org/licenses/by-sa/2.0/deed.uk\" target=\"_blank\">Creative Commons Attribution-ShareAlike 2.0 Generic License</a>."
nav_translations:
Home: Switch2OSM
Why: Навіщо?
Cases: Вже з OSM
Basics: Основи
Using: Мапа
Own tiles: Використання тайлів
Leaflet: За допомогою Leaflet
OpenLayers: За допомогою OpenLayers
Vector Tiles: Переваги векторних тайлів
Serving: Власний сервер
Serving tiles: Робимо власні тайли
Manually: Розгортаємо сервер вручну
Docker: Використання контейнера Docker
Munin: Моніторинг за допомогою Munin
Updating: Оновлення бази даних правками з OpenStreetMap
Serving vector tiles: Векторні тайли
Steps: Загальні кроки
TileServer GL: Розгортання TileServer GL
Other: Інше
Providers: Постачальники
More: Отримання допомоги
- locale: zh-TW
name: 台灣華語
theme:
palette:
- toggle:
name: 切換到燈光模式
- toggle:
name: 切換到深色模式
- toggle:
name: 切換到系統偏好設定
copyright: "© 2013–2023 開放街圖與貢獻者。 <a rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/2.0/\" target=\"_blank\"><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-sa/2.0/80x15.png\" /></a><br />這些資料採用 <a rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/2.0/\" target=\"_blank\">創用CC相同方式分享 2.0 未本地化授權條款</a>。"
nav_translations:
Home: Switch2OSM
Why: 為什麼更換?
Cases: 案例分析
Basics: 基本資訊
Using: 使用圖磚
Leaflet: 開始使用 Leaflet
OpenLayers: 開始使用 OpenLayers
Vector Tiles: 向量地圖圖磚的威力
Serving: 供給圖磚
Manually: 手動建構圖磚伺服器
Docker: 使用 Docker 容器
Munin: 採用 Munin 監控
Updating: 在人們編輯過開放街圖之後更新資料庫
Serving vector tiles: 向量地圖圖磚
Steps: 一般步驟
TileServer GL: 開始使用 TileServer GL
Other: 其他用途
Providers: 提供者
More: 取得協助
- locale: "null"
fixed_link: https://app.transifex.com/osm-ua/swtch2osm/dashboard/#/
name: Help to translate