-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
155 lines (135 loc) · 5.92 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
## Linum Framework settings for Wiki
# https://squidfunk.github.io/mkdocs-material/setup/
# https://www.mkdocs.org/user-guide/configuration/
# General metadata
site_name: Linum Framework Wiki
#site_url: https://halatnikov.github.io/linum-framework/
copyright: idk
# GitHub repo settings
repo_url: https://github.com/Halatnikov/linum-framework/
repo_name: halatnikov/linum-framework
edit_uri: blob/master/docs/
# Extra
extra:
social:
- icon: material/web
link: https://halatnikov.github.io/
name: my "website"
# Theme edits
theme:
name: material
static_templates:
- 404.html
# feature flags
features:
- content.code.annotate
- navigation.indexes
- navigation.top
- search.highlight
- search.suggest
# logo (this is stupid, but github doesn't want my pngs!!!)
logo: https://cdn.discordapp.com/attachments/406052265963683840/945003686151733299/linumlogo_ayleen-seraph.png
favicon: https://cdn.discordapp.com/attachments/406052265963683840/945003686151733299/linumlogo_ayleen-seraph.png
# colorschemes, dark is default
palette:
- scheme: slate # dark bg
primary: blue
accent: teal
toggle:
icon: material/lightbulb-outline
name: Switch to light mode
- scheme: default # light bg
primary: blue
accent: teal
toggle:
icon: material/lightbulb
name: Switch to dark mode
# icons
icon:
repo: fontawesome/brands/github
# Extra CSS
extra_css:
- _include/extra.css
# Plugins
plugins:
- git-revision-date-localized
- search:
min_search_length: 2
- tags:
tags_file: special/tags.md
# Extra JS
extra_javascript:
# sort tables by various parameters (except monthname is bugged)
- https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/tablesort.min.js
- https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/sorts/tablesort.date.min.js
- https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/sorts/tablesort.dotsep.min.js
- https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/sorts/tablesort.filesize.min.js
- https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/sorts/tablesort.number.min.js
- _include/extra.js
# Markdown extensions
# there's a lot, but how could i resist??
markdown_extensions:
# BUILT-IN
- abbr # *[SCA]: Super Cool Abbreviation, but can be any words
- admonition # !!! note "Note!" and there's like an icon and different colors
- attr_list # [Can do buttons](){ .md-button } and also { align=right } images
- def_list # `word` : definition
- footnotes: # footnote[^1] and [^1]: it's content, insert [FOOTNOTES] to place anywhere
PLACE_MARKER: '[FOOTNOTES]'
- md_in_html # image caption <figcaption> and idk, other html stuff
- meta # add variables at start of file to customise stuff (use with tags plugin to do tags)
- tables # well tables |:-:|-|
- toc: # table of contents, get links to headers/sections, insert [TOC] to place anywhere
title: 'Table of contents:'
permalink: true
baselevel: 2
toc_depth: 3
# SUPPORTED
- pymdownx.betterem: # improvements for **formatting** to allow stacking and escaping
smart_enable: all
- pymdownx.caret # ^^underscores^^ and ^small\ up\ symbols^
- pymdownx.critic # {--red--} {++green++} {==yellow==} {>>comment<<} can do blocks too
- pymdownx.details # ??? "collapsible blocks", ???+ to open (use with admonition)
- pymdownx.emoji: # :emoji: and mkdocs icons :material-lightbulb-outline: (/ with -) and custom too??
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.highlight: # syntax highlighting in code blocks, line numbers
anchor_linenums: true
- pymdownx.inlinehilite # also highlights syntax in `inline code blocks`
- pymdownx.keys # keyboard keys ++ctrl+alt+del++
- pymdownx.mark # ==fill with color==
- pymdownx.smartsymbols # replaces symbols for you: (tm) (c) (r), c/o +/- =/=, --> <-- <-->, 1/2, 1st 2nd 5th
- pymdownx.snippets # --8<-- "path", can embed external files (use with abbr to add dictionary)
- pymdownx.superfences: # allows nesting of elements in other elements (can do diagrams and etc with mermaid)
preserve_tabs: true
- pymdownx.tabbed: # === "tabs"
alternate_style: true
- pymdownx.tasklist: # - [x] checkmarks
custom_checkbox: true
- pymdownx.tilde # ~~striked-through~~ and ~small\ down\ symbols~
# EXPERIMENTAL
- markdown_grid_tables
- nl2br # snaps markdown rules in half by not requiring a new paragraph everytime
- sane_lists # makes (un)ordered lists more manageable and also being able to start not from 1
- smarty: # replaces symbols for you: << >>, ..., -- ---
smart_quotes: false
smart_angled_quotes: true
- pymdownx.escapeall # you can escape any character with \, even \\
- pymdownx.magiclink: # formats regular links, also adds syntax for github and social(twitter) links
hide_protocol: true
repo_url_shortener: true
repo_url_shorthand: true
social_url_shortener: true
social_url_shorthand: true
user: halatnikov
repo: linum-framework
- pymdownx.progressbar # progress bar [=50% "title"]{: .thin} or {: .candystripe} (with attr_list)
- pymdownx.saneheaders # makes it so github issues don't detect as a header
# --- Navigation bar ---
nav:
- index.md
- Random dump:
- files/skinmetadata.md
- Special pages:
- special/tags.md
- special/markdown.md