forked from geotribu/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs-minimal.yml
118 lines (108 loc) · 3.33 KB
/
mkdocs-minimal.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
# Project information
site_name: !ENV [MKDOCS_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: !ENV [MKDOCS_SITE_AUTHOR, "Geotribu"]
site_url: !ENV [MKDOCS_SITE_URL, "https://geotribu.fr/"]
copyright:
!ENV [MKDOCS_SITE_COPYRIGHT, '<span class="copyleft">©</span> Geotribu']
# Custom folder structure
docs_dir: !ENV [MKDOCS_SOURCE_DIR, "./content"]
site_dir: !ENV [MKDOCS_OUTPUT_DIR, "./build/mkdocs/site"]
# Plugins
plugins:
- awesome-pages
- exclude:
glob:
- "*/templates/*"
- "*.yml"
- macros:
include_dir: content/toc_nav_ignored/snippets
- minify:
minify_css: true
css_files:
- theme/assets/stylesheets/extra.css
- theme/assets/stylesheets/homepage.css
# Theme
theme:
name: "material"
custom_dir: "./content/theme/"
favicon: theme/assets/images/geotribu/logo_geotribu.png
# Don't include MkDocs' JavaScript
include_search_page: false
search_index_only: true
features:
- navigation.tabs
- navigation.top
- navigation.tracking
font:
code: Ubuntu Mono
text: Ubuntu
icon:
repo: fontawesome/brands/github-alt
language: "fr"
logo: theme/assets/images/geotribu/logo_geotribu.png
palette:
# 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 en mode clair
extra_css:
- "theme/assets/stylesheets/extra.css"
extra_javascript:
- "theme/assets/javascripts/extra.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:
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: "#"