-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmkdocs.yml
167 lines (160 loc) · 4.52 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
site_name: The Diary Of A Diabetic
site_description: A journal of a diabetic capturing various recipes that do not spike his blood glucose levels.
repo_url: !ENV [REPO_URL, 'https://github.com/pubmania/a_diabetics_journal']
edit_uri: !ENV [EDIT_URL,'edit/main/docs/']
site_url: !ENV [SITE_URL,'']
use_directory_urls: False
theme:
name: material
custom_dir: overrides
# https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/
icon:
logo: fontawesome/solid/utensils
favicon: favicon.png
palette:
# Palette toggle for light mode
- scheme: default
primary: orange
accent: deep orange
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
primary: orange
accent: deep orange
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- content.code.annotate
- content.code.copy
- content.tabs.link
- content.tooltips
- content.action.edit
- content.action.view
#- navigation.expand
#- navigation.footer
- navigation.indexes
#- navigation.sections
- navigation.tabs
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
#extra:
# consent:
# title: Cookie consent
# description: >-
# The site uses cookies to recognise visits and preferences.
extra_css:
- assets/stylesheets/extra.css
- assets/stylesheets/nutrition_label.css
- assets/stylesheets/recipe_template.css
extra_javascript:
#- https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/tablesort.min.js
#- assets/javascripts/tables.js
#- assets/javascripts/mermaid.min.js
#- assets/javascripts/mathjax.js # must be before mathjax
#- https://polyfill.io/v3/polyfill.min.js?features=es6
#- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
#- https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js
#- assets/javascripts/view-bigimg.js
- assets/javascripts/extra.js
# Extension information
markdown_extensions:
- abbr
- admonition
- attr_list
- footnotes
- md_in_html
- meta
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.details
#- pymdownx.smartsymbols
- pymdownx.caret
- pymdownx.mark
- pymdownx.tilde
- pymdownx.snippets:
base_path: '.'
check_paths: false
auto_append: ["includes/abbreviations.md"]
- 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
clickable_checkbox: true
- toc:
permalink: true
- plantuml_markdown:
server: http://www.plantuml.com/plantuml # PlantUML server, for remote rendering
format: svg_inline # default diagram image format
- customblocks # use ::: to create a new <div>
# Plugin information
plugins:
- search
- awesome-pages
- include-markdown
- blog:
enabled: true
blog_dir: blog
blog_toc: false
pagination_if_single_page: true
#- mermaid2
- glightbox
- macros
#- table-reader:
# data_path: "docs/assets/tables"
#- encryptcontent:
# title_prefix: '🔐'
# summary: 'Restricted Access'
# search_index: 'encrypted'
# password_button: True
# password_button_text: 'Unlock'
# hljs: False
- exclude:
glob:
- "*.gz"
regex:
- '.*\.(tmp|bin|tar)$'
#- enumerate-headings:
# toc_depth: 0
# strict: true
# increment_across_pages: true
# include:
# - Recipes/*/*.md
# exclude:
# - index.md
# - about/index.md
# - Recipes/tags.md
# - Recipes/00-prepare-to-beat.md
# - Recipes/index.md
# - Recipes/Breads/index.md
# - Recipes/Breakfast Options/index.md
# - Recipes/Dessert Options/index.md
# - Recipes/Drinks/index.md
# - Recipes/Main Meal Options/index.md
# - Recipes/Snacks and Sides/index.md
# - Musings/
- tags:
tags_file: tags/index.md
#- git-revision-date-localized:
# enable_creation_date: true
- social:
cards_dir: assets/images/social
# MkDocs Hooks
hooks:
- hooks.py