-
Notifications
You must be signed in to change notification settings - Fork 2
/
mkdocs.yml
137 lines (126 loc) · 3.13 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
# Project information
site_name: MkDocs Translate
site_description: Example sphinx-build documentation project for use with mkdocs_translate script.
site_dir: build/html
site_url: http://jodygarnett.github.io/translate
# Repository
repo_name: translate
repo_url: https://github.com/jodygarnett/translate
edit_uri: edit/main/example/docs
# Copyright
copyright: Copyright © 2024 Open Source Geospatial Foundation
extra_css:
- assets/stylesheets/extra.css
# Configuration
theme:
name: material
language: en
custom_dir: overrides
# logo: assets/images/geoserver_mark.png
# favicon: assets/images/geoserver_mark.png
icon:
repo: fontawesome/brands/github
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: blue
toggle:
icon: material/weather-night
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/weather-sunny
name: Switch to light mode
features:
- content.action.view
- content.action.edit
- content.code.copy
- content.tabs.link
- navigation.tracking
- navigation.prune
- navigation.indexes
- toc.follow
- navigation.top
- navigation.footer
- announce.dismiss
# Plugins - install using: pip3 install -r requirements.txt
plugins:
- exclude:
glob:
- '**/download/download.txt'
- include-markdown:
preserve_includer_indent: true
dedent: true
comments: false
- macros:
render_by_default: false
on_error_fail: true
on_undefined: strict
j2_block_start_string: '[[%'
j2_block_end_string: '%]]'
- search
# Customizations
hooks:
- download.py
extra:
homepage: http://jodygarnett.github.io/translate
social:
- icon: fontawesome/brands/github
link: ttps://github.com/jodygarnett/translate
version: '0.4'
release: '0.4.1'
# Extensions
# - These are carefully chosen to work with pandoc markdown support for whole document translation
markdown_extensions:
- admonition
- attr_list
- def_list
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
options:
custom_icons:
- overrides/.icons
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.smartsymbols
- pymdownx.superfences:
- pymdownx.tabbed:
alternate_style: true
- tables
- md_in_html
# Validation
validation:
nav:
omitted_files: info
not_found: warn
absolute_links: info
links:
not_found: warn
absolute_links: info
unrecognized_links: info
not_in_nav: |
**/download/*.md
# Page tree
nav:
- Home: index.md
- setup/index.md
- Translate:
- translate/index.md
- Migrate: translate/migrate.md
- Language: translate/language.md
- Guide:
- guide/index.md
- guide/markdown.md
- guide/style.md
- Development:
- development/index.md
- development/release.md