forked from nmbr73/Kernfusion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
160 lines (135 loc) · 5.23 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
# See for example https://github.com/jobindjohn/obsidian-publish-mkdocs on how to
# publish Obsidian notes via MkDocs. See https://www.codeinsideout.com/blog/site-setup/create-site-project/#extend-the-theme
# for further information on customizations.
site_name: Wiki of ConFusion
site_url: http://confusion.nmbr73.net/
repo_url: https://github.com/nmbr73/Kernfusion/
repo_name: Kernfusion
edit_uri: blob/main/Wiki/ # 'edit_uri: edit/main/Wiki/' works only if signed in and granted access
# nav:
# - Home: index.md
# - About.md
# - ...
# https://squidfunk.github.io/mkdocs-material/customization/#setup-and-theme-structure
# https://github.com/squidfunk/mkdocs-material/tree/master/material/partials
theme:
name: material
logo: assets/fusion.png
custom_dir: supplements/mkdocs/overrides
features:
# - announce.dismiss
- content.code.annotate
# - content.tabs.link
- content.tooltips
# - header.autohide
# - navigation.expand
- navigation.indexes
# - navigation.instant
# - navigation.prune
- navigation.sections
# - navigation.tabs
# - navigation.tabs.sticky
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
# - toc.integrate
palette:
# Light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: black # pink
accent: deep orange # indigo
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
# Dark mode
- media: "(prefers-color-scheme: dark)"
# scheme: wsl
scheme: slate
primary: purple # pink
accent: teal # blue
toggle:
icon: material/toggle-switch
name: Switch to light mode
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#superfences
# Extensions
markdown_extensions:
- nl2br # needed by 'callouts' cause newlines to be treated as hard breaks; like StackOverflow and GitHub flavored Markdown do
- admonition # aka callouts; needed by 'callouts'
- pymdownx.details # needed by 'callouts'; html5 <details><summary> for collapsible element
- def_list # syntax: https://squidfunk.github.io/mkdocs-material/reference/lists/#using-definition-lists
- attr_list # https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#attribute-lists
- md_in_html
- footnotes
# https://facelessuser.github.io/pymdown-extensions/extensions/arithmatex/
- pymdownx.arithmatex:
generic: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde # subscript via ~
- pymdownx.caret # superscript via ^
- pymdownx.keys # to display keyboard shortcuts ++ctrl+alt+del++
- pymdownx.mark # to mark text using ==some text==
- pymdownx.smartsymbols # to render -->, <--, =/=, (c), 1st, 1/4, etc.
# - pymdownx.inlinehilite # `#!py3 code`
- pymdownx.highlight:
# anchor_linenums: true
# - pymdownx.magiclink
- pymdownx.saneheaders # to force header to have a space after the '#''
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- toc:
permalink: true
plugins:
- search
- roamlinks # to allow wiki-markup links [[...]] as used in Obsidian; https://github.com/Jackiexiao/mkdocs-roamlinks-plugin
- callouts # converts Obsidian callouts into MkDocs admonitions; https://pypi.org/project/mkdocs-callouts/
- awesome-pages: # allows .pages files in directories for navigation; https://github.com/lukasgeiter/mkdocs-awesome-pages-plugin
collapse_single_pages: true
- tags:
tags_file: Categories.md
extra_javascript:
- javascripts/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
extra_css:
- assets/stylesheets/extra.css
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/nmbr73/Kernfusion
name: Kernfusion on GitHub
- icon: fontawesome/brands/discord
link: https://discord.gg/Zb48E4z3Pg
name: Fusion Developers Discord
- icon: fontawesome/brands/youtube
link: https://www.youtube.com/c/nmbr73/videos
name: nmbr73 on YouTube (place some reasonable link in here)
- icon: fontawesome/brands/twitter
link: https://twitter.com/nmbr73
name: nmbr73 on Twitter (place some reasonable link in here)
- icon: fontawesome/brands/instagram
link: https://www.instagram.com/nmbr73/
name: nmbr73 on IG (place some reasonable link in here)
- icon: fontawesome/brands/reddit
link: https://www.reddit.com/user/nmbr73
name: nmbr73 on Reddit (place some reasonable link in here)
- icon: fontawesome/brands/twitch
link: https://www.twitch.tv/nmbr73
name: nmbr73 on Twitch (place some reasonable link in here)
- icon: fontawesome/brands/tumblr
link: https://www.tumblr.com/nmbr73
name: nmbr73 on tumblr (place some reasonable link in here)
- icon: fontawesome/brands/pinterest
link: https://www.pinterest.de/nmbr73/
name: nmbr73 on Pinterest (place some reasonable link in here)