-
Notifications
You must be signed in to change notification settings - Fork 17
/
mkdocs.yml
90 lines (73 loc) · 2.22 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
site_name: 'LINZ Basemaps'
site_url: !ENV [BASEMAPS_DOCS_URL, http://localhost:8000/docs/]
repo_url: 'https://github.com/linz/basemaps'
copyright: '<a href="https://www.linz.govt.nz/copyright">© CC BY 4.0 LINZ</a>'
docs_dir: './docs'
site_dir: './packages/landing/dist/docs'
theme:
name: 'material'
# This file is managed by @linzjs/lui and needs to be copied into /docs/
logo: 'linz-motif.svg'
font:
text: Open Sans
code: Open Sans Mono
# Switch to dark mode if the user requests it
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- navigation.indexes
- content.code.copy
extra_css:
- "index.css"
markdown_extensions:
# Syntax highlighting
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks/
- pymdownx.highlight:
anchor_linenums: true
line_spans: '__span'
pygments_lang_class: true
# Additional syntax highlighting
- pymdownx.inlinehilite
- pymdownx.snippets:
base_path: 'docs'
check_paths: true
# Adds inline notes with `!!! note`
#
# https://squidfunk.github.io/mkdocs-material/reference/admonitions/
- admonition
# Nested fences
#
# https://facelessuser.github.io/pymdown-extensions/extensions/superfences/
- pymdownx.superfences
# Adds collapsible sections with `???` and expands admonition
#
# https://facelessuser.github.io/pymdown-extensions/extensions/details/
- pymdownx.details
# Allows grouping content snippets under labelled tabs
#
# https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/
- pymdownx.tabbed:
alternate_style: true
# Overrides indent required for sublist items
#
# https://github.com/radude/mdx_truly_sane_lists
- mdx_truly_sane_lists:
nested_indent: 2
# Load google analytics from the $GOOGLE_ANALYTICS environment var
extra:
analytics:
provider: google
property: !ENV [GOOGLE_ANALYTICS]
plugins:
- swagger-ui-tag