-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkdocs.yml
More file actions
83 lines (77 loc) · 3.04 KB
/
Copy pathmkdocs.yml
File metadata and controls
83 lines (77 loc) · 3.04 KB
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
# The documentation site: https://nordfisch.github.io/kiekmap/
#
# It serves docs/museum/ and nothing else -- what a museum needs in order to use, run, adapt and
# pass on the device, in both languages. docs/developer/ is read in the repository, beside the
# code it describes, and has no address here.
#
# The README stays on the repository start page and is not part of the site; the two are joined by
# links and by the "Website" field of the repository.
#
# Built by .github/workflows/pages.yml from the newest tag, not from develop: the museum reads
# the documentation for the version it is running.
site_name: Kiekmap
site_description: A touchscreen kiosk that shows historic photos of a village on a map.
site_url: https://nordfisch.github.io/kiekmap/
repo_url: https://github.com/nordfisch/kiekmap
edit_uri: edit/develop/docs/
copyright: Copyright 2026 Kalle Erlhoff · Apache-2.0
docs_dir: docs/museum
# Links that leave docs/museum/ point at files in the repository, which are no pages here.
hooks:
- tools/mkdocs_hooks.py
theme:
name: material
language: en
# System fonts. Material fetches Google Fonts by default, which would have every reader of this
# site call fonts.gstatic.com -- for a project whose first rule is that the device asks nothing
# foreign, that is the wrong note to end on.
font: false
features:
- navigation.sections
- navigation.top
- content.action.edit
- search.suggest
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
toggle: { icon: material/weather-night, name: Dark mode }
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle: { icon: material/weather-sunny, name: Light mode }
markdown_extensions:
- admonition
- attr_list
- tables
# GitHub's rule for anchors, not MkDocs': letters stay letters, umlauts included. Without this
# every heading with an umlaut gets a different anchor here than in the repository, and the
# links that check_anchors.py has verified would break on the site alone.
- toc:
permalink: true
slugify: !!python/object/apply:pymdownx.slugs.slugify { kwds: { case: lower } }
plugins:
- search
# The suffix is the whole configuration: adaption.de.md is the German half of adaption.md.
# The same rule the language check reads, and there is no second list to keep.
- i18n:
docs_structure: suffix
languages:
- locale: en
default: true
name: English
build: true
nav:
- Welcome: index.md
- Adding photos and backing them up: usermanual.md
- Running the device: operations.md
- Setting it up for another place: adaption.md
- Passing it on: licensing.md
- locale: de
name: Deutsch
build: true
site_name: Kiekmap
nav:
- Willkommen: index.md
- Fotos hinzufügen und sichern: usermanual.md
- Das Gerät betreiben: operations.md
- Für einen anderen Ort einrichten: adaption.md
- Weitergabe: licensing.md