-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
196 lines (178 loc) · 8.11 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
site_name: IM Fagboka
site_url: https://docs.iktim.no
site_author: Sondre Grønås
site_description: >-
En åpen digital fagbok for Informasjonsteknologi og Medieproduksjon ved Vågen VGS
docs_dir: docs
repo_name: docs.iktim.no
repo_url: https://github.com/VaagenIM/docs.iktim.no
edit_uri: edit/main/docs/
copyright: >
Copyright © 2021 - 2023 Sondre Grønås –
<a href="#__consent">Endre personvernsinnstillinger</a>
theme:
name: material
custom_dir: overrides
language: 'nb'
palette: # Light/Dark Mode
- media: "(prefers-color-scheme: light)" # Light mode
scheme: default
primary: indigo
accent: blue
toggle:
icon: material/toggle-switch
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)" # Dark mode
scheme: slate
primary: indigo
accent: blue
toggle:
icon: material/toggle-switch-off-outline
name: Light mode
features:
- content.action.edit # Add edit page button
- content.code.annotate # Add annotations to codeblocks (```code (1)``` 1. annotation)
- navigation.indexes # Attach index.md to parent
- navigation.tabs # Subdirectories of docs/ as tabs
- navigation.tracking # Automatically add #anchor to URL while scrolling
- navigation.top # Back to top button
- navigation.prune # Performance / size optimization
- navigation.footer # Next / previous page footer
- search.suggest # Autocomplete results during search
- search.highlight # Highlight occurences inside clicked search result
- search.share # Share search URL button in text input
logo: logo.png
favicon: https://iktim.no/favicon.ico
extra:
generator: false
social:
- icon: fontawesome/brands/github
link: https://github.com/sondregronas
name: "@sondregronas"
alternate:
- name: Norsk
link: '%GT_RELATIVE_URL%'
lang: 'no'
- name: English
link: 'https://translate.goog/?_x_tr_sl=no&_x_tr_tl=en'
lang: 'en'
analytics:
provider: google
property: G-SRDC6RDQ19
feedback:
title: Var siden nyttig?
ratings:
- icon: material/emoticon-happy-outline
name: Siden var nyttig
data: 1
note: >-
Takk for tilbakemeldingen!
- icon: material/emoticon-sad-outline
name: Siden kan forbedres
data: 0
note: >- # Migrate to fider.io
Takk for tilbakemeldingen! Hjelp oss bli bedre ved å
benytte vårt <a href="https://github.com/VaagenIM/docs.iktim.no/issues" target="_blank" rel="noopener">tilbakemeldingsskjema</a>.
consent:
title: Samtykke til informasjonskapsler
actions:
- accept
- reject
- manage
description: >-
Vi bruker informasjonskapsler for å gjenkjenne dine gjentatte besøk og preferanser,
samt for å måle effektiviteten til innholdet og om brukerne finner det de leter etter.
Med ditt samtykke hjelper du oss forbedre innholdet på siden.
markdown_extensions:
# Essentials
- meta # Load frontmatter (---\ntitle: Title\n---
- attr_list # Add HTML attributes to anything ( { align=left })
- nl2br # All linebreaks add <br> tags (starts new line on new lines...)
- mdx_breakless_lists # single linebreak required for lists, instead of two
- pymdownx.magiclink # Automatically wrap links to <a> tags https://google.com = <a href="https://google.com">https://google.com</a>
# Features
- footnotes # Citations (Zotero/Pandoc) ([^1], [^1]: Lorem ipsum)
- admonition # Callout blocks > [!INFO], > [!WARNING], > [!VIDEO], > [!TECH], > [!CODE] (alt: !!! type)
- pymdownx.details # https://squidfunk.github.io/mkdocs-material/reference/admonitions/#configuration
- pymdownx.tasklist: # - [ ] Task, - [x] Task completed
custom_checkbox: true # https://squidfunk.github.io/mkdocs-material/reference/lists/#using-definition-lists
# Code highlighting
- pymdownx.superfences # Code higlighting ```language\n code\n ```
- pymdownx.highlight: # Syntax highlighting + superfences
linenums: true # numbered lines
anchor_linenums: true # generate anchor links to line number
- pymdownx.inlinehilite # Inline code highlighting
# Math / Formulas
- pymdownx.arithmatex: # Mathematical formulas $f(a)=f(b)$ $5*2=10$
generic: true # Clean formatting for non-MathJax libraries
# ^~= modifiers
- pymdownx.caret # ^^underline^^, ^superscript^ (H^2^O)
- pymdownx.tilde # ~~strikethrough~~, ~subscript~ (~2~OH)
- pymdownx.mark # ==mark text== (yellow marker)
- pymdownx.betterem: # **bold** *italic*, __bold__ _italic_
smart_enable: all # Both modifiers (* and _)
# Extra
- pymdownx.keys # ++ctrl+alt+delete++
- pymdownx.smartsymbols # Convert special characters from markdown ((tm) = ™)
- smarty # '' -> ‘’, "" -> “”, etc..
- pymdownx.emoji: # Emojis :smile: :tada:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
# Abbreviations
- abbr
- pymdownx.snippets:
auto_append:
- references/abbr.md
plugins:
- search # Search bar
- awesome-pages # Automatically generate nav
- google-translate: # Relative paths for google translate
url: 'docs.iktim.no'
- tags # Searchable tags
- callouts # Convert obsidian callouts to markdown format
- roamlinks # Use WikiLinks
- glightbox: # Lightbox! https://github.com/blueswen/mkdocs-glightbox
- footermatter: # Last edited, date created, author links. Needs to be updated for proper author rendering
default_author_img: https://ui-avatars.com
default_author_url: https://github.com/VaagenIM/docs.iktim.no
date_format: 'timeago'
locale: 'nb_NO'
author_map: # Name in frontmatter | path RELATIVE TO: resources/assets/authors or URL | website
# - Sondre Grønås | sondregronas.png | https://github.com/sondregronas
- Sondre Grønås | https://www.gravatar.com/avatar/4e0476393c848aef61ed66d404da0d14?s=250 | https://github.com/sondregronas
- Audun Bredal Halvorsen | https://avatars.githubusercontent.com/u/93128935 | https://github.com/AuHalvorsen
# - Janne Wetteland |
# - Nora Fjeldheim Lerstøl |
- bibtex: # Citations & reference management (Zotero)
bib_dir: "references"
csl_file: "references/harvard-cite-them-right.xml"
cite_inline: True
- exclude: # Exclude pattern from site
glob:
- .obsidian/*
- _DATA/*
regex:
- '.*\.(tmp|bin|tar)$'
- minify: # Optimize load times
minify_html: true
- submodule-edit-uri: # Edit_uri in submodules
modules:
- IKT:
old: https://github.com/VaagenIM/docs.iktim.no/edit/main/docs/IKT
new: https://github.com/VaagenIM/docs.iktim.no-IKT/edit/main
- MP:
old: https://github.com/VaagenIM/docs.iktim.no/edit/main/docs/MP
new: https://github.com/VaagenIM/docs.iktim.no-MP/edit/main
- 2022:
old: https://github.com/VaagenIM/docs.iktim.no/edit/main/docs/2022
new: https://github.com/VaagenIM/docs.iktim.no-2022/edit/main
- Moduler:
old: https://github.com/VaagenIM/docs.iktim.no/edit/main/docs/Moduler
new: https://github.com/VaagenIM/docs.iktim.no-moduler/edit/main
nav:
- Home:
- index.md
- 1IM.md
- 2IT.md
- Ny-elev.md
- ...