-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
170 lines (155 loc) · 4.79 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
# Project information
site_name: PyQGIS icon cheatsheet
site_description: >-
Cheatsheet of icons embedded in QGIS with direct integration code for PyQGIS.
Automatically generated every month.
site_author: Julien Moura (Geotribu)
site_url: https://pyqgis-icons-cheatsheet.geotribu.fr/
copyright: '<span class="copyleft">©</span> Geotribu'
# Repository
repo_name: !ENV [GITHUB_REPOSITORY, "geotribu/pyqgis-icons-cheatsheet"]
repo_url: !ENV [MKDOCS_REPO_URL, "https://github.com/geotribu/pyqgis-icons-cheatsheet"]
edit_uri: !ENV [MKDOCS_EDIT_URI, "edit/main/content"]
# Plugins
plugins:
- git-revision-date-localized:
enable_creation_date: false
fallback_to_build_date: true
locale: en
- meta
- minify:
minify_html: true
- optimize:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_OPTIMIZE, true]
optimize_jpg_quality: 80
optimize_png_speed: 1
- search:
lang: en
- privacy:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_PRIVACY, true]
links_attr_map:
target: _blank
assets_exclude:
# mandatory - https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/
- cdn.jsdelivr.net/npm/mathjax@3/*
- giscus.app/*
# geotribu
- cdn.geotribu.fr/images/*
- cdn.geotribu.fr/img/*
- geotribu.net/*
# external
- cdnjs.cloudflare.com/ajax/libs/twemoji/*
- github.com/**/badge.svg
- github.com/**/*.gif
- img.shields.io/*
- results.pre-commit.ci/*
- twemoji.maxcdn.com/*
- user-images.githubusercontent.com/**/*.gif
- social:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_SOCIAL, true]
cards: !ENV [MKDOCS_ENABLE_PLUGIN_SOCIAL_CARDS, true]
cards_layout_options:
font_family: Ubuntu
# Theme
theme:
name: "material"
custom_dir: "./docs/theme/"
favicon: theme/assets/images/pyqgis.png
features:
- content.code.copy
- navigation.path
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
- toc.integrate
font:
code: Ubuntu Mono
text: Ubuntu
language: en
logo: theme/assets/images/pyqgis.png
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)"
accent: amber
primary: green
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
accent: blue
primary: teal
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference
# Customization
extra:
analytics:
provider: matomo
matomo_url: !ENV [MKDOCS_MATOMO_URL_BASE, "https://matomo.data-wax.com/"]
geotribu_main_site: https://geotribu.fr/
social:
- icon: "fontawesome/brands/github-alt"
link: "https://github.com/geotribu/"
name: "Geotribu on Github"
- icon: "fontawesome/brands/mastodon"
link: https://mapstodon.space/web/@geotribu
name: "Geotribu on Mapstodon"
- icon: "fontawesome/brands/twitter"
link: "https://twitter.com/geotribu"
name: "Geotribu on Twitter"
- icon: "fontawesome/brands/linkedin"
link: "https://www.linkedin.com/feed/hashtag/?keywords=geotribu"
name: "Geotribu on LinkedIn"
- icon: "fontawesome/brands/youtube"
link: https://www.youtube.com/@geotribu
name: "Geotribu on Youtube"
- icon: "fontawesome/brands/mailchimp"
link: http://eepurl.com/hL0zVr
name: "geotribu newsletter newsletter"
- icon: fontawesome/solid/paper-plane
link: mailto:<[email protected]>
name: "Contact us by email"
- icon: "fontawesome/solid/piggy-bank"
link: https://fr.tipeee.com/geotribu
name: "Sponsor Geotribu"
extra_css:
- "theme/assets/stylesheets/extra.css"
extra_javascript:
- https://unpkg.com/[email protected]/dist/tablesort.min.js
- theme/assets/javascript/tablesort.js
# Extensions to enhance markdown - see: https://squidfunk.github.io/mkdocs-material/getting-started/#extensions
markdown_extensions:
- admonition
- attr_list
- md_in_html
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
linenums: true
use_pygments: true
- pymdownx.inlinehilite
- pymdownx.smartsymbols
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.tilde
- tables
- toc:
permalink: "#"
nav:
- Credits: credits.md
- Cheatsheet: index.md
- Plugin: https://plugins.qgis.org/plugins/pyqgis_resource_browser/
- Geotribu: http://geotribu.fr/