forked from geotribu/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
360 lines (347 loc) · 10.5 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
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
# Project information
site_name: Geotribu
site_description: >-
Site indépendant de veille sur la géomatique libre et open source.
Articles, tutoriels et revues de presse (#GeoRDP) sur
l'information géographique, les SIG, la cartographie, la représentation des données...
site_author: Geotribu
site_url: https://static.geotribu.fr/
copyright: '<span class="copyleft">©</span> Geotribu'
# Repository
repo_name: !ENV [GITHUB_REPOSITORY, "geotribu/website"]
repo_url: !ENV [MKDOCS_REPO_URL, "https://github.com/geotribu/website"]
edit_uri: !ENV [MKDOCS_EDIT_URI, "edit/master/content"]
# Custom folder structure
docs_dir: "./content"
site_dir: "./build/mkdocs/site"
# Plugins
plugins:
- awesome-pages
- exclude:
glob:
- "*/templates/*"
- "*.yml"
- git-authors:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_GIT_AUTHORS, False]
exclude:
- index.md
show_contribution: true
- git-revision-date-localized:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_GIT_DATES, False]
enable_creation_date: true
fallback_to_build_date: true
locale: fr
- minify:
minify_css: true
minify_html: true
minify_js: false
htmlmin_opts:
remove_comments: true
- rss:
abstract_chars_count: 500
categories:
- categories
- tags
comments_path: "#__comments"
date_from_meta:
as_creation: "date"
as_update: false
datetime_format: "%Y-%m-%d %H:%M"
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_RSS, false]
image: "https://cdn.geotribu.fr/img/internal/charte/geotribu_logo_64x64.png"
length: 50
match_path: "(articles|rdp)/.*"
pretty_print: true
url_parameters:
utm_source: "rss-feed"
utm_medium: "RSS"
utm_campaign: "feed-syndication"
- search:
lang: fr
- macros:
include_dir: content/toc_nav_ignored/snippets
- tags:
tags_file: tags.md
- privacy:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_PRIVACY, false]
externals_exclude:
# geotribu
- cdn.geotribu.fr/images/*
- cdn.geotribu.fr/img/*
- geotribu.net/*
- www.geotribu.net/*
- ks356007.kimsufi.com/*
# external
- github.com/**/*.gif
- i.imgur.com/*
- raw.githubusercontent.com/*
- twemoji.maxcdn.com/*
- upload.wikimedia.org/*
- user-images.githubusercontent.com/**/*.gif
# to remove later:
- dev.openstreetmap.org/*
- www.portailsig.org/assets/images/*
- 88.191.39.115/*
- cdn.theatlanticcities.com/img/*
- boundlessgeo.com/*
- i3.codeplex.com/*
- drfhlmcehrc34.cloudfront.net/*
# Theme
theme:
name: "material"
custom_dir: "./content/theme/"
favicon: "https://cdn.geotribu.fr/img/internal/charte/geotribu_logo_64x64.png"
# Don't include MkDocs' JavaScript
include_search_page: false
search_index_only: true
features:
- content.code.annotate
- content.tabs.link
- navigation.prune
- navigation.tabs
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
font: false
icon:
repo: fontawesome/brands/github-alt
tag:
default: fontawesome/solid/tag
# -- custom tags icons
ananas: material/fruit-pineapple
atlas: fontawesome/solid/book-atlas
brick: material/toy-brick
cerveau: material/brain
citrouille: material/pumpkin
code: fontawesome/solid/code
commentaires: fontawesome/solid/comments
conference: fontawesome/solid/person-chalkboard
database: fontawesome/solid/database
facebook: fontawesome/brands/facebook
feuille: fontawesome/solid/leaf
geoloupe: fontawesome/solid/magnifying-glass-location
git: fontawesome/brands/git-alt
globe: fontawesome/solid/earth-europe
google: fontawesome/brands/google
html: fontawesome/brands/html5
institution: fontawesome/solid/building-columns
js: fontawesome/brands/js
manette: fontawesome/solid/gamepad
markdown: fontawesome/brands/markdown
masques: fontawesome/solid/masks-theater
meridiens: fontawesome/solid/globe
oeuf: fontawesome/solid/egg
open: fontawesome/solid/lock-open
opensource: material/open-source-initiative
python: fontawesome/brands/python
roue: material/cog-play
route: fontawesome/solid/route
rstats: fontawesome/brands/r-project
satellite: fontawesome/solid/satellite-dish
streetview: fontawesome/solid/street-view
telephone: material/cellphone-marker
windows: fontawesome/brands/windows
language: fr
logo: "https://cdn.geotribu.fr/img/internal/charte/geotribu_logo_64x64.png"
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Basculer en mode clair
# Light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: teal
accent: "deep orange"
toggle:
icon: material/weather-sunny
name: Basculer en mode sombre
# Dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: blue grey
accent: "deep orange"
toggle:
icon: material/weather-night
name: Basculer sur le réglage système
# Customization
extra:
analytics:
provider: google
property: !ENV MKDOCS_GOOGLE_ANALYTICS_KEY
comments_url: https://comments.geotribu.fr # isso url
consent:
title: Consentement 🍪
actions:
- accept
- manage
- reject
description: >
Nous utilisons des cookies pour le goûter mais aussi pour vous proposer
des fonctionnalités (commentaires, thème clair ou sombre, etc.) et mesurer
l'audience du site.
social:
- icon: "fontawesome/solid/rss"
link: "https://static.geotribu.fr/feed_rss_created.xml"
name: "S'abonner aux nouveaux contenus via RSS"
- icon: "fontawesome/brands/github-alt"
link: "https://github.com/geotribu/"
name: "L'organisation Github de Geotribu"
- icon: "fontawesome/brands/twitter"
link: "https://twitter.com/geotribu"
name: "Geotribu sur Twitter"
- icon: "fontawesome/brands/linkedin"
link: "https://www.linkedin.com/feed/hashtag/?keywords=geotribu"
name: "Les contenus de Geotribu sur LinkedIn"
- icon: "fontawesome/brands/youtube"
link: "https://www.youtube.com/channel/UCfpO6BcaqxxykBOWJzP_9jg/"
name: "Chaîne Youtube de Geotribu"
- icon: "fontawesome/brands/facebook"
link: "https://fr-fr.facebook.com/geotribu/"
name: "Page Facebook de Geotribu"
- icon: "fontawesome/brands/mailchimp"
link: http://eepurl.com/hL0zVr
name: "Abonnez-vous à la newsletter"
- icon: fontawesome/solid/paper-plane
link: mailto:<[email protected]>
name: "Nous contacter"
- icon: "fontawesome/brands/slack"
link: "https://geotribu.slack.com"
name: "Rejoignez-nous sur Slack"
- icon: "fontawesome/solid/feather-pointed"
link: http://pad.geotribu.fr/
name: "Editeur en ligne"
- icon: "fontawesome/solid/piggy-bank"
link: https://fr.tipeee.com/geotribu/
name: "Le pot commun sur Tipee"
tags:
atlas: atlas
Bash: code
Centipede: satellite
CNIG: institution
collecte: telephone
collecte terrain: telephone
coulisses: masques
cURL: code
D3.js: js
Easter eggs: oeuf
Esri: globe
ETL: roue
ExtJS: js
Facebook: facebook
FIG: conference
FME: roue
FOSS4G: conference
GéoDataDays: conference
GeoGames: manette
GeoKettle: roue
géo-lecture: atlas
Git: git
GitHub: git
GitLab: git
Google: google
Google Earth: google
Google Maps: google
Google Street View: google
GraphHopper: route
Halloween: citrouille
HTML: html
HTML5: html
IA: cerveau
IGN: institution
Input: telephone
INSPIRE: ananas
IRC: commentaires
JavaScript: js
jeu: manette
jeux vidéo: manette
Leaflet: feuille
Lego: brick
LIDAR: satellite
livre: atlas
Mapillary: streetview
Markdown: markdown
Matrix: commentaires
Minecraft: manette
MySQL: database
ODK: telephone
Open Data Kit: telephone
OpenPathView: streetview
OpenRouteService: route
open data: open
open source: opensource
OpenStreetMap: geoloupe
OSRM: route
Open Earth View: streetview
pgDay: database
pgRouting: route
PGSession: database
PostGIS: database
PostgreSQL: database
projection: meridiens
PyCSW: python
PyGEOS: python
PyQGIS: python
PyQt: python
PySQL: python
Python: python
PyWPS: python
QField: telephone
QGIS: globe
R: rstats
route: route
routing: route
SQL: database
three.js: js
Windows: windows
extra_css:
- "theme/assets/stylesheets/extra.css"
- "https://cdn.jsdelivr.net/npm/[email protected]/dist/wa-mediabox.min.css"
extra_javascript:
- "theme/assets/javascripts/extra.js"
- "https://cdn.jsdelivr.net/npm/[email protected]/dist/wa-mediabox.min.js"
# Extensions to enhance markdown - see: https://squidfunk.github.io/mkdocs-material/getting-started/#extensions
markdown_extensions:
- abbr
# Admonition - https://squidfunk.github.io/mkdocs-material/extensions/admonition/
- admonition
- attr_list
# Footnotes - https://squidfunk.github.io/mkdocs-material/reference/footnotes/
- footnotes
- md_in_html
# Metadata - https://squidfunk.github.io/mkdocs-material/extensions/metadata
- meta
# PyMdown extensions - https://squidfunk.github.io/mkdocs-material/extensions/pymdown/
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.highlight:
linenums: true
use_pygments: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.smartsymbols
- pymdownx.saneheaders
# https://facelessuser.github.io/pymdown-extensions/extensions/snippets/
- pymdownx.snippets:
auto_append: [content/toc_nav_ignored/snippets/glossaire.md]
base_path: "."
check_paths: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
# Permalinks - https://squidfunk.github.io/mkdocs-material/extensions/permalinks/
- toc:
permalink: "#"