-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmkdocs.yml
290 lines (246 loc) · 9.26 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
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
# floxdocs is organized according to the principles described in
# https://documentation.divio.com/:
#
# > There is a secret that needs to be understood in order to write good
# > software documentation: there isn’t one thing called documentation,
# > there are four.
#
# > They are: tutorials, how-to guides, technical reference and explanation.
# > They represent four different purposes or functions, and require four
# > different approaches to their creation. Understanding the implications
# > of this will help improve most documentation - often immensely.
#
# Please visit the above website and read the documentation in full before
# undertaking any significant overhaul of floxdocs organization.
site_name: "Flox Docs"
site_url: "https://flox.dev/docs"
site_description: Flox documentation site
# The following line adds a github star counter to the top right
# of the page ... we may want to enable this later if/when we start
# getting feedback on the public repo
repo_url: "https://github.com/flox/flox"
copyright: "Copyright 2024 Flox. All rights reserved."
extra:
FLOX_VERSION: !ENV [FLOX_VERSION, 'X.Y.Z']
FLOX_PUBLIC_KEY: "flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs="
generator: false
analytics:
provider: custom
nav:
- Install Flox: install-flox.md
- Flox in 5 minutes: index.md
- Tutorials:
- Creating environments: tutorials/creating-environments.md
- The default environment: tutorials/default-environment.md
- Sharing environments: tutorials/sharing-environments.md
- Layering multiple environments: tutorials/layering-multiple-environments.md
- Customizing the environment shell hook: tutorials/customizing-environments.md
- Designing multi-arch environments: tutorials/multi-arch-environments.md
- Continuous integration/delivery (CI/CD): tutorials/ci-cd.md
- Migration guides:
- ... | flat | tutorials/migrations/*
- Concepts:
- Environments: concepts/environments.md
- Environment manifest: concepts/manifest.md
- Activating environments: concepts/activation.md
- FloxHub: concepts/floxhub.md
- Generations: concepts/generations.md
- Catalog and Packages: concepts/packages-and-catalog.md
- Services: concepts/services.md
- Flox vs. container workflows: concepts/flox-vs-containers.md
- Cookbook:
- Languages:
- ... | flat | cookbook/languages/*
- Reference:
- Flox manual:
- reference/command-reference/flox.md
- ... | flat | reference/command-reference/*
strict: true
validation:
nav:
omitted_files: info
not_found: warn
absolute_links: info
links:
not_found: warn
absolute_links: warn
unrecognized_links: warn
extra_css:
- css/extra.css
theme:
name: material
custom_dir: overrides
language: en
direction: ltr
favicon: img/favicon.ico
logo: img/logo.svg
font: false
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: custom
accent: custom
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: custom
accent: custom
toggle:
icon: material/brightness-4
name: Switch to light mode
icon:
# Repository icon
# https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#repository-icon
repo: fontawesome/brands/github
# Admonition icons
# https://squidfunk.github.io/mkdocs-material/reference/admonitions/#admonition-icons
admonition:
announce: material/bullhorn
features:
# Clicks on all internal links will be intercepted and dispatched via
# XHR without fully reloading the page.
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#instant-loading
- navigation.instant # Instant loading
- navigation.instant.prefetch # Instant prefetching
- navigation.instant.progress # Progress indicator
- navigation.tracking # Anchor tracking
# - navigation.tabs # Navigation tabs
# - navigation.sections # Navigation sections
- navigation.expand # Navigation expansion
- navigation.path # Navigation path aka Breadcrumbs
- navigation.prune # Navigation pruning
# - navigation.indexes # Section index pages
- navigation.top # Back-to-top button
- toc.follow # Anchor following
# - toc.integrate # Navigation integration
- navigation.footer
# The search will display the likeliest completion for the last word
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#search-suggestions
- search.suggest
- search.highlight
- search.share
# Code blocks
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-selection-button
- content.code.copy # Code copy button
- content.code.select # Code selection button
- content.code.annotate # Code annotations
# Footnote tooltips
# https://squidfunk.github.io/mkdocs-material/reference/footnotes/#footnote-tooltips
- content.footnote.tooltips
# Improved tooltips
# https://squidfunk.github.io/mkdocs-material/reference/tooltips/#improved-tooltips
- content.tooltips
markdown_extensions:
# Admonitions
# https://squidfunk.github.io/mkdocs-material/reference/admonitions/
- admonition
- pymdownx.details
- pymdownx.superfences
# Annotations
# https://squidfunk.github.io/mkdocs-material/reference/annotations/
- attr_list
- md_in_html
- pymdownx.superfences
# Buttons
# https://squidfunk.github.io/mkdocs-material/reference/buttons/
- attr_list
# Code blocks
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks/
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
# Content tabs
# https://squidfunk.github.io/mkdocs-material/reference/content-tabs/
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
# Data tables
# https://squidfunk.github.io/mkdocs-material/reference/data-tables/
- tables
# Diagrams
# https://squidfunk.github.io/mkdocs-material/reference/diagrams/
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
# Footnotes
# https://squidfunk.github.io/mkdocs-material/reference/footnotes/
- footnotes
# Formatting
# https://squidfunk.github.io/mkdocs-material/reference/formatting/
- pymdownx.critic
- pymdownx.caret
- pymdownx.keys
- pymdownx.mark
- pymdownx.tilde
# Grids
# https://squidfunk.github.io/mkdocs-material/reference/grids/
- attr_list
- md_in_html
# Icons, Emojis
# https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
# Images
# https://squidfunk.github.io/mkdocs-material/reference/images/
- attr_list
- md_in_html
# Lists
# https://squidfunk.github.io/mkdocs-material/reference/lists/
- def_list
- pymdownx.tasklist:
custom_checkbox: true
# Tooltips
# https://squidfunk.github.io/mkdocs-material/reference/tooltips/
- abbr
- attr_list
- pymdownx.snippets
plugins:
# Excellent client-side search implementation, omitting the need for the
# integration of third-party services
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#built-in-search-plugin
- search
# The built-in optimize plugin automatically identifies and optimizes all
# media files as part of the build using compression and conversion
# techniques.
# https://squidfunk.github.io/mkdocs-material/setup/building-an-optimized-site/#built-in-optimize-plugin
- optimize
# Lightbox - image zoom
# https://github.com/blueswen/mkdocs-glightbox
- glightbox:
touchNavigation: true
loop: false
effect: zoom
slide_effect: slide
width: 100%
height: auto
zoomable: true
draggable: true
skip_classes:
- custom-skip-class-name
auto_caption: false
caption_position: bottom
background: white
shadow: true
# Simplifies configuring page titles and their order
# https://github.com/lukasgeiter/mkdocs-awesome-pages-plugin
- awesome-pages
# Enables markdown files to be included in other markdown files
# https://github.com/mondeja/mkdocs-include-markdown-plugin
- include-markdown
# Unleash the power of MkDocs with variables and macros
# https://github.com/fralau/mkdocs-macros-plugin
- macros
# Support for D2 diagrams
- d2