-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmkdocs.yml
138 lines (128 loc) · 3.97 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
---
# Practicalli Clojure
site_name: Practicalli VSpaceCode
site_url: https://practical.li/vspacecode
site_description: Practical guide to Clojure programming with VSpaceCode and Calva
site_author: Practicalli
site_org: https://practical.li
copyright: Copyright © 2023 Practicali <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
repo_url: https://github.com/practicalli/vspacecode/
edit_uri: https://github.com/practicalli/vspacecode/edit/main/docs/
# Deployment
# remote_name: origin
remote_branch: gh-pages # deployment branch
# Theme and styling
theme:
name: material
logo: assets/images/practicalli-logo.png
favicon: assets/favicon.svg
features:
- announce.dismiss
- content.action.edit
- content.action.view
- content.code.annotate
- content.code.copy
- content.tabs.link
- navigation.footer
- navigation.indexes # Nav sections can have files
- navigation.instant # Avoid page reloading for internal links
- navigation.top
- navigation.tracking # Update URL with anchor
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: blue
accent: teal
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: teal
toggle:
icon: material/brightness-4
name: Switch to light mode
# Override theme
custom_dir: overrides
extra_css:
- assets/stylesheets/extra.css
## Additional styling
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences
- attr_list
- md_in_html # Grids
- footnotes # footnotes and abbreviations
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.keys # keyboard keys
- pymdownx.magiclink
- def_list # lists
- pymdownx.tasklist:
custom_checkbox: true # checkboxes
- toc:
permalink: λ︎
## Plugins
plugins:
# Explicitly add search plugin when defining plugins in this configuration file
- search
- callouts
- glightbox # Image aligning
- git-revision-date-localized: # Update and Creation date of each page
# enable_creation_date: true
fallback_to_build_date: true
# Generate Social Cards via CI only
# in assets/images/social
- social:
cards: !ENV [MKDOCS_SOCIAL_CARDS_GENERATE, true]
# Redirect pages when moved or changed
- redirects:
redirect_maps:
repl-driven-development.md: introduction/repl-workflow.md
clojure-cli/data-browsers: data-inspector/
# Footer / Social Media
extra:
analytics:
provider: google
property: G-ZRNZJBJ4Q8
social:
- icon: fontawesome/brands/linkedin
link: https://www.linkedin.com/in/jr0cket/
- icon: fontawesome/brands/slack
link: https://clojurians.slack.com/messages/practicalli
- icon: fontawesome/brands/twitter
link: https://twitter.com/practical_li
- icon: fontawesome/brands/github
link: https://github.com/practicalli
- icon: fontawesome/brands/docker
link: https://hub.docker.com/u/practicalli
# Navigation
nav:
- Introduction:
- index.md
- REPL Workflow: introduction/repl-workflow.md
- Contributing: introduction/contributing.md
- Writing Tips: introduction/writing-tips.md
- Install: install/index.md
- Quick Start: guide/quick-start.md
- Clojure Workflow:
- guide/clojure/index.md
- Configuration:
- configuration/index.md
- Theme & Font: configuration/theme-font-configuration.md