forked from githedgehog/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
115 lines (106 loc) · 3.05 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
site_name: Open Network Fabric
site_url: https://docs.githedgehog.com/
site_description: Hedgehog Open Network Fabric Documentation
site_author: Hedgehog Authors
copyright: ©2023 Hedgehog
theme:
name: material
logo: assets/logo.webp
favicon: assets/favicon.ico
custom_dir: overrides
features:
- announce.dismiss
- content.action.edit
- navigation.instant
- navigation.instant.progress
- navigation.tracking
# - navigation.sections
# - navigation.tabs # TODO Do we need them or just everything in the sidebar is better?
# we can hide sidebars for the tabs where it's not needed
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#hiding-the-sidebars
- navigation.expand
- toc.follow
- navigation.top
- search.suggest
- search.highlight
- search.share
- content.code.copy
- content.code.annotate
- content.tabs.link
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/weather-night
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/weather-sunny
name: Switch to light mode
extra:
homepage: https://docs.githedgehog.com
version:
provider: mike
default: latest
analytics:
provider: google
property: G-NZSPQEJNFH
social:
- icon: fontawesome/brands/linkedin
link: https://www.linkedin.com/company/githedgehog/
# consent:
# title: Cookie consent
# description: >-
# We use cookies to recognize your repeated visits and preferences, as well
# as to measure the effectiveness of our documentation and whether users
# find what they're searching for. With your consent, you're helping us to
# make our documentation better.
repo_url: https://github.com/githedgehog/docs
repo_name: githedgehog/docs
# edit_uri: edit/master/docs/
plugins:
- search
- glightbox
- autorefs
- awesome-pages:
collapse_single_pages: true
sort_type: natural
order_by: title
- git-revision-date-localized:
enable_creation_date: true
# - htmlproofer # https://github.com/manuzhang/mkdocs-htmlproofer-plugin
markdown_extensions:
- abbr
- attr_list
- admonition
- tables
- pymdownx.details
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.snippets:
auto_append:
- includes/abbreviations.md
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.tabbed:
alternate_style: true
- pymdownx.critic
- pymdownx.caret
- pymdownx.keys
- pymdownx.mark
- pymdownx.tilde
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
watch:
- includes
- overrides