-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yaml
156 lines (143 loc) · 3.78 KB
/
mkdocs.yaml
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
site_name: Version Docs
site_description: 'Documentation for Version'
site_author: 'version-cli'
site_url: https://version-cli.app/
copyright: >
Copyright © 2024 version-cli -
<a href="#__consent">Change cookie settings</a>
strict: true
repo_name: version-cli/version
repo_url: https://github.com/version-cli/version/
edit_uri: https://github.com/version-cli/docs/edit/main/docs/
watch:
- includes
use_directory_urls: true
validation:
omitted_files: warn
absolute_links: warn
unrecognized_links: warn
remote_branch: gh-pages
hooks:
- mkdocs-hooks/custom-edit-url.py
nav:
- Home: index.md
- Getting Started:
- getting-started/installation.md
- Use:
- getting-started/use/latest_versions.md
- getting-started/use/bump.md
- Optional:
- getting-started/github_action.md
theme:
name: material
logo: assets/images/logo.svg
favicon: assets/images/logo.svg
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: white
toggle:
icon: material/weather-sunny
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
toggle:
icon: material/weather-night
name: Switch to light mode
icon:
repo: fontawesome/brands/github
edit: material/pencil
view: material/eye
features:
- navigation.instant
- navigation.instant.prefetch
- navigation.instant.progress
- navigation.instant.preview
- navigation.tracking
- navigation.tabs
- navigation.tabs.sticky
- navigation.sections
- navigation.path
- navigation.expand
- navigation.footer
- toc.follow
- navigation.top
- content.tabs.link
- content.tooltips
- content.code.copy
- content.tooltips
- content.action.edit
- content.action.view
- search.suggest
- search.highlight
- search.share
plugins:
- search
- privacy
- social:
cards_layout_options:
background_color: "#D4AA01"
color: "#ffffff"
# - git-revision-date-localized:
# enable_creation_date: true
# - git-committers:
# repository: version-cli/docs
# branch: main
extra:
analytics:
provider: google
property: !ENV GOOGLE_ANALYTICS_KEY
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.
actions:
- accept
- reject
version:
provider: mike
social:
# disabled since right now it's not possible to add a label + open the link in the current tab
# - icon: material/cookie-edit
# name: Change cookie settings
# link: "#__consent"
- icon: fontawesome/brands/github
link: https://github.com/version-cli
exclude_docs: |
/poetry.lock
/pyproject.toml
markdown_extensions:
- pymdownx.tabbed:
alternate_style: true
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets:
auto_append:
- includes/abbreviations.md
- pymdownx.critic
- pymdownx.caret
- pymdownx.keys
- pymdownx.mark
- pymdownx.tilde
- pymdownx.magiclink
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.extra
- admonition
- pymdownx.details
- pymdownx.smartsymbols
- pymdownx.saneheaders
- toc:
permalink: true