-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
132 lines (119 loc) · 3.4 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
site_name: n0bias
nav:
- Home: index.md
- Courses:
- index.md
- Advanced Macro:
- courses/advanced_scripting/index.md
- Installation:
- courses/advanced_scripting/installation/installing_fiji.md
- courses/advanced_scripting/installation/getting_started.md
- Refresher:
- courses/advanced_scripting/refresher/index.md
- courses/advanced_scripting/refresher/variables.md
- courses/advanced_scripting/refresher/strings.md
- courses/advanced_scripting/refresher/arrays.md
- courses/advanced_scripting/refresher/loops.md
- courses/advanced_scripting/refresher/conditionals.md
- demo.md
theme:
name: material
font: false
logo: assets/logo.svg
favicon: assets/logo.svg
custom_dir: docs/.overrides
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: white
accent: indigo
toggle:
icon: octicons/moon-24
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: amber
toggle:
icon: octicons/sun-24
name: Switch to light mode
features:
- navigation.tabs
- content.code.copy
- content.code.annotate
- content.action.edit
# - navigation.footer # next/previous links in footer
- navigation.content_next # next/previous links bottom of content
# - navigation.instant # hard to use with javascript on page load
# - navigation.tracking
- navigation.indexes
- search.highlight
- search.share
- search.suggest
- navigation.icons
markdown_extensions:
- admonition
- attr_list
- def_list
- pymdownx.details
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.tilde
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.progressbar:
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.tabbed:
alternate_style: true
- toc:
permalink: "#"
plugins:
# potentially we could use this: https://github.com/jdoiro3/mkdocs-multirepo-plugin
- search
# last modified date
#- git-revision-date-localized:
# enable_creation_date: true
# type: timeago
# add committer info
- git-committers:
repository: nobias-fht/nobias-fht.github.io
branch: main
token: !ENV MKDOCS_GIT_COMMITTERS_APIKEY
# minify files
- minify:
minify_html: true
minify_js: true
minify_css: true
cache_safe: true
htmlmin_opts:
remove_comments: true
css_files:
- stylesheets/extra.css
- stylesheets/termynal.css
js_files:
- javascripts/extra.js
- javascripts/termynal.js
# check spelling in all files, including code documentation
- spellcheck:
backends: # the backends you want to use
- codespell: # or nested configs
dictionaries: [clear, rare]
watch:
- docs
extra_css:
- stylesheets/termynal.css
- stylesheets/extra.css
- stylesheets/landing_page.css
extra_javascript:
- javascripts/termynal.js
- javascripts/extra.js