-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkdocs.yml
More file actions
152 lines (136 loc) · 3.58 KB
/
mkdocs.yml
File metadata and controls
152 lines (136 loc) · 3.58 KB
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
site_name: Publisher for MkDocs
site_url: https://pulm.icu/kb-publisher
site_author: Rutvik Shah
site_description: Publishing plugin for MkDocs
copyright: >
© 2023 Nuklius
repo_name: dr-code/kb-publisher
repo_url: https://github.com/dr-code/kb-publisher
edit_uri: edit/main/docs
docs_dir: docs
site_dir: gh-pages
use_directory_urls: true
strict: true
# dev_addr: 127.0.0.1:8666
extra:
homepage: https://pulm.icu/kb-publisher
extra_css:
- overrides/assets/stylesheets/publisher.css
extra_javascript:
# MathJax
- javascripts/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
# Icons hack
- https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js
watch:
- overrides
theme:
name: material
language: en
font:
code: Lato
custom_dir: overrides
logo: publisher_logo.png
favicon: publisher_icon.png
palette:
# Palette toggle for light mode
- scheme: default
toggle:
icon: material/lightbulb
name: Switch to dark mode
primary: orange
accent: orange
# Palette toggle for dark mode
- scheme: slate
toggle:
icon: material/lightbulb-outline
name: Switch to light mode
primary: orange
accent: orange
features:
- navigation.tabs
# - navigation.tabs.sticky
- navigation.footer # Prev/Next page
- navigation.tracking # Anchor tracking
- navigation.top # Back to top
- navigation.sections
- navigation.instant
- navigation.instant.progress
- search.suggest
- search.highlight
- search.share
- content.action.edit
- content.action.view
- content.code.copy
- content.code.annotate
- content.tabs.link
- toc.follow
markdown_extensions:
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- tables
- toc:
permalink: true
permalink_title: Anchor link to this section for reference
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem
- pymdownx.critic
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.highlight:
auto_title: false
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
use_pygments: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.tabbed:
alternate_style: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- pymdownx.saneheaders
- pymdownx.smartsymbols
- pymdownx.snippets
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
plugins:
- pub-debugger:
console_log:
enabled: true
# filter_logger_names:
# - mkdocs.plugins
# - mkdocs.structure.files
# - mkdocs.structure.pages
# - mkdocs.plugins.publisher.meta.plugin
# - mkdocs.plugins.publisher.blog.creators
# - mkdocs.plugins.publisher.blog.modifiers
# - mkdocs.plugins.publisher.blog.parsers
# - mkdocs.plugins.publisher.debug.plugin
# - mkdocs.plugins.publisher.minifier.base
# - mkdocs.plugins.publisher.minifier.plugin
# - mkdocs.commands.build
- search
- #pub-blog:
# blog_dir: 04_blog
- pub-obsidian
- pub-social
- pub-meta
- pub-minifier