forked from geotribu/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkdocs.yml
More file actions
146 lines (131 loc) · 4.48 KB
/
mkdocs.yml
File metadata and controls
146 lines (131 loc) · 4.48 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
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
# Project information
site_name: Geotribu
site_description: >-
Site indépendant de veille sur la géomatique libre.
Retrouvez nos articles, tutoriels et nos revues de presse (#GeoRDP) sur
l'information géographique, les SIG, la cartographie, la représentation des données géographiques...
Globalement, tout ce qui mêle géographie et informatique.
site_author: Geotribu
site_url: https://static.geotribu.fr/
copyright: '<span class="copyleft">©</span> Geotribu'
# Repository
repo_name: 'geotribu/website'
repo_url: 'https://github.com/geotribu/website'
edit_uri: 'edit/master/content'
# Custom folder structure
docs_dir: './content'
site_dir: './build/mkdocs/site'
# Plugins
plugins:
- awesome-pages
- git-authors:
show_contribution: true
- git-revision-date-localized:
fallback_to_build_date: true
- minify:
minify_html: true
minify_js: false
htmlmin_opts:
remove_comments: true
- rss:
abstract_chars_count: 500
image: "https://cdn.geotribu.fr/img/internal/charte/geotribu_logo_64x64.png"
length: 50
- search:
lang: fr
prebuild_index: !!python/object/apply:os.getenv ["MKDOCS_SEARCH_PREBUILD_INDEX"]
separator: '[\s\-\.]+'
- redirects:
redirect_maps:
"dicogis.md": "articles/2014/art_2014-09-25_dicogis.md"
"node/636.md": "articles/2013/art_2013-09-26.md"
"rdp/rdp_2020-04-30.md": "rdp/2020/rdp_2020-04-30.md"
# 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:
- tabs
- instant
font: false
icon:
repo: fontawesome/brands/github-alt
language: 'fr'
logo: "https://cdn.geotribu.fr/img/internal/charte/geotribu_logo_64x64.png"
palette:
accent: deep-orange
primary: teal
scheme: preference
# Integrations with 3rd party
google_analytics:
- 'UA-162113930-1'
- 'auto'
# Customization
extra:
disqus: 'geotribu-static' # comment system
manifest: 'manifest.webmanifest' # PWA declaration
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/search?q=%23GeoRDP&src=typed_query&f=live'
name: "La #GeoRDP de Geotribu sur Twitter"
- icon: 'fontawesome/brands/facebook'
link: 'https://fr-fr.facebook.com/geotribu/'
name: "Page Facebook de Geotribu"
- icon: fontawesome/solid/paper-plane
link: mailto:<geotribu@gmail.com>
name: "Nous contacter"
- icon: 'fontawesome/brands/slack'
link: 'https://geotribu.slack.com'
name: "Rejoignez-nous sur Slack"
extra_css:
- 'theme/assets/stylesheets/extra.css'
- 'https://cdn.jsdelivr.net/npm/wa-mediabox@1.0.1/dist/wa-mediabox.min.css'
extra_javascript:
- 'theme/assets/javascripts/extra.js'
- 'https://cdn.jsdelivr.net/npm/wa-mediabox@1.0.1/dist/wa-mediabox.min.js'
- 'https://unpkg.com/mermaid@8.6.4/dist/mermaid.min.js'
# Extensions to enhance markdown - see: https://squidfunk.github.io/mkdocs-material/getting-started/#extensions
markdown_extensions:
- attr_list
# Admonition - https://squidfunk.github.io/mkdocs-material/extensions/admonition/
- admonition
# Metadata - https://squidfunk.github.io/mkdocs-material/extensions/metadata
- meta
- pymdownx.details
# PyMdown extensions - https://squidfunk.github.io/mkdocs-material/extensions/pymdown/
- 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.smartsymbols
# https://facelessuser.github.io/pymdown-extensions/extensions/snippets/
- pymdownx.snippets:
base_path: '.'
check_paths: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_div_format
- pymdownx.tabbed
- pymdownx.tilde
# Permalinks - https://squidfunk.github.io/mkdocs-material/extensions/permalinks/
- toc:
permalink: ⚓
# Navigation - Menu organization
# # Disabled to use auto detection
# nav:
# - Accueil: index.md