-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
mkdocs.yml
294 lines (281 loc) · 10.6 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
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
# SPDX-FileCopyrightText: 2024 Nicco Kunzmann and Open Web Calendar Contributors <https://open-web-calendar.quelltext.eu/>
#
# SPDX-License-Identifier: CC-BY-SA-4.0
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
site_name: Open Web Calendar
# site url, see https://www.mkdocs.org/user-guide/configuration/#site_url
site_url: https://open-web-calendar.quelltext.eu
repo_url: https://github.com/niccokunzmann/open-web-calendar/
repo_name: niccokunzmann/open-web-calendar
edit_uri: blob/master/docs/
site_description: Embed a highly customizable web calendar into your website using ICal source links
copyright: '<span xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://open-web-calendar.quelltext.eu/">Open Web Calendar Documentation</a> by <span property="cc:attributionName">Nicco Kunzmann and Open Web Calendar Contributors</span><br/> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">Creative Commons Attribution-ShareAlike 4.0 International<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/sa.svg?ref=chooser-v1" alt=""></a></span> '
theme:
palette:
# colors of the calendar
# see https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/
primary: black
accent: yellow
# Palette toggle for automatic mode
# - media: "(prefers-color-scheme)"
# toggle:
# icon: material/brightness-auto
# name: Switch to light mode
#
# # Palette toggle for light mode
# - scheme: default
# toggle:
# icon: material/brightness-7
# # primary: black
# # accent: yellow
# name: Switch to dark mode
# media: "(prefers-color-scheme: light)"
#
# # Palette toggle for dark mode
# - scheme: slate
# toggle:
# icon: material/brightness-4
# # primary: black
# # accent: yellow
# name: Switch to system preference
# media: "(prefers-color-scheme: dark)"
# font, see https://squidfunk.github.io/mkdocs-material/setup/changing-the-fonts/
font:
text: Ubuntu
code: Ubuntu Mono
language: en
# logo, see https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/
logo: assets/img/logo/owc.svg
favicon: assets/img/logo/owc.svg
# instant loading, see https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/
features:
# - navigation.instant
# - navigation.instant.prefetch
- header.autohide
- announce.dismiss
- navigation.footer
- content.action.edit
- navigation.instant
# - navigation.tracking
- toc.follow
- content.code.copy
- content.tabs.link
icon:
edit: material/pencil
view: material/eye
# theme, see
name: material
custom_dir: docs/overrides
plugins:
# privacy, see https://squidfunk.github.io/mkdocs-material/plugins/privacy/
- privacy # asset filtering can be circumvented by html escaping the content
# for l in b'https://giscus.app/client.js': print('&#' + hex(l)[1:]+';', end="")
# assets_exclude: # see also https://github.com/giscus/giscus/issues/1348
# - cdn.jsdelivr.net/npm/mathjax@3/*
# - giscus.app/* # see https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.assets_exclude
# offline, see https://squidfunk.github.io/mkdocs-material/plugins/offline/
# - offline
- social
# blog, see https://squidfunk.github.io/mkdocs-material/setup/setting-up-a-blog/
# incompatible with translation by i18n
# - blog
# authors_profiles: true # sponsors only
- rss:
match_path: news/.*
date_from_meta:
as_creation: date
categories:
- categories
# - tags\
# markdownextradata, see https://github.com/rosscdh/mkdocs-markdownextradata-plugin
- markdownextradata
# macros, see https://mkdocs-macros-plugin.readthedocs.io/en/latest/macros/
- macros
# meta description, see https://github.com/prcr/mkdocs-meta-descriptions-plugin
- meta-descriptions
# - i18n:
# reconfigure_material: true
# languages:
# - locale: en
# name: English
# default: true
# - locale: de
# name: Deutsch
# nav_translations:
# Hosting: Aufsetzen
# Development: Entwicklung
# News: Neuigkeiten
- mdpo:
locale_dir: ../translations
lc_messages: true # store all documentation translations separately
languages:
- pot # generate the template files
- en
- de
- es
- nb_NO
- it
- th
- eo
- hr
- ko
- ko_LAVA
- sk
- zh_Hant
# add mdpo.languages above
translate:
- site_name
- site_description
# - copyright
# min_translated_messages: 50%
exclude:
- docs/changelog.md
- docs/dev/translate.md
- docs/dev/maintain.md
- docs/dunno.md
- docs/news/*
# git revision, see https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#document-dates
# - git-revision-date-localized:
# enable_creation_date: true
# do not use the language selector
# - material-relative-language-selector
# snippets and exclude from https://pypi.org/project/mkdocs-snippets/
- exclude:
glob:
- snippets/*
# - snippets
extra: # language support, see https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/
social:
- icon: fontawesome/solid/globe
link: https://open-web-calendar.hosted.quelltext.eu
- icon: fontawesome/brands/github
link: https://github.com/niccokunzmann/open-web-calendar/
name: GitHub
- icon: fontawesome/solid/language
link: https://hosted.weblate.org/engage/open-web-calendar/
name: Weblate
- icon: fontawesome/brands/python
link: https://pypi.org/project/open-web-calendar/
name: PyPI
- icon: fontawesome/brands/docker
link: https://hub.docker.com/r/niccokunzmann/open-web-calendar
name: Docker
- icon: fontawesome/brands/mastodon
link: https://toot.wales/tags/OpenWebCalendar
name: "Mastodon #OpenWebCalendar"
- icon: fontawesome/solid/paper-plane
link: mailto:[email protected]
link:
# do not use - but _
web: https://open-web-calendar.hosted.quelltext.eu
tor: https://tor.open-web-calendar.hosted.quelltext.eu
repo: https://github.com/niccokunzmann/open-web-calendar/
code: https://github.com/niccokunzmann/open-web-calendar/tree/master/
pypi: https://pypi.org/project/open-web-calendar/
issues: https://github.com/niccokunzmann/open-web-calendar/issues
tags: https://github.com/niccokunzmann/open-web-calendar/tags
weblate: https://hosted.weblate.org/engage/open-web-calendar/
good_first_issue: https://github.com/niccokunzmann/open-web-calendar/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22
dockerhub: https://hub.docker.com/r/niccokunzmann/open-web-calendar
fund:
polar: https://polar.sh/niccokunzmann/open-web-calendar
open_collective: https://opencollective.com/open-web-calendar/
github_sponsors: https://github.com/sponsors/niccokunzmann
templates: https://open-web-calendar.quelltext.eu/assets/templates
# From https://pypi.org/project/mkdocs-mdpo-plugin/
# note that longer language codes might need a mapping in
# docs/overrides/partials/languages
# see also https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#custom-translations
alternate:
- name: English
lang: en
- name: Deutsch
link: de
lang: de
- name: Español
link: es
lang: es
- name: Norsk bokmål
link: nb_NO
lang: nb_NO
- name: Italiano
link: it
lang: it
- name: อังกฤษ
link: th
lang: th
- name: Esperanto
link: eo
lang: eo
- name: Hrvatski
link: hr
lang: hr
- name: Slovenčina
link: sk
lang: sk
# add extra.alternate languages above
- name: Translate
link: https://hosted.weblate.org/engage/open-web-calendar/
lang: en
# navigation, see https://www.mkdocs.org/user-guide/configuration/#nav
nav:
- index.md
- templates.md
- contributing.md
- News:
- news/social-media.md
- news/2024-04-10-website.md
- Hosting:
- host/hosted.md
- host/self.md
- host/docker.md
- host/pypi.md
- host/configure.md
- host/migrate.md
- Development:
- dev/translate.md
- dev/index.md
- dev/api.md
- dev/maintain.md
- dev/license.md
- SECURITY.md
- changelog.md
- host/privacy-policy.md
- dunno.md
# validation, see https://www.mkdocs.org/user-guide/configuration/#validation
validation:
omitted_files: warn
absolute_links: info
unrecognized_links: info
nav:
omitted_files: warn
not_found: warn
links:
absolute_links: warn
unrecognized_links: warn
not_found: warn
watch:
- open_web_calendar/static/img/logo
markdown_extensions:
- smarty # see https://python-markdown.github.io/extensions/smarty/
- toc: # see https://python-markdown.github.io/extensions/toc/
permalink: true
- sane_lists # see https://python-markdown.github.io/extensions/sane_lists/
- meta # see https://python-markdown.github.io/extensions/meta_data/
- pymdownx.tabbed # see https://mrkeo.github.io/reference/content-tabs/
- pymdownx.superfences # see https://mrkeo.github.io/reference/content-tabs/
- pymdownx.highlight # see https://mrkeo.github.io/reference/code-blocks/
- pymdownx.inlinehilite # see https://mrkeo.github.io/reference/code-blocks/#inlinehilite
- pymdownx.details # see https://facelessuser.github.io/pymdown-extensions/extensions/details/
- abbr
- pymdownx.snippets: # see https://facelessuser.github.io/pymdown-extensions/extensions/snippets/
base_path: ["docs/snippets", "docs/assets/templates"]
- attr_list # see https://mrkeo.github.io/reference/images/
- pymdownx.tabbed:
alternate_style: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.superfences
hooks:
- docs/hooks/set_canonical_url.py