-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
159 lines (150 loc) · 4.66 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
---
# Practicalli Git
site_name: Practicalli Git
site_url: https://practical.li/git
site_description: Practical guide to distributed version control with Git
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/git/
edit_uri: https://github.com/practicalli/git/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 sub-heading anchor names
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: red
accent: orange
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: red
accent: orange
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:
url_download: true
- 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
# Footer / Social Media
extra:
analytics:
provider: google
property: G-2EC8XDXP0L
social:
- icon: material/web
link: https://practical.li/
- 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
- Git Workflow: introduction/repl-workflow.md
- Git Cheatsheet: introduction/cheatsheet.md
- Concepts: introduction/concepts.md
- Contributing: https://practical.li/contributing/
- Writing Tips: https://practical.li/writing-tips/
- Install:
- install/index.md
- Configure: install/configure.md
- Staging:
- staging/index.md
- Use the Index: using-stages/use-the-index.md
- Use git diff: using-stages/use-git-diff.md
- Interactive staging: using-stages/interactive-staging.md
- Commits:
- commits/index.md
- Messages: commits/messages.md
- Commit often: commits/commit-often.md
- Amend: commits/amend.md
- Squash: commits/squash.md
- History:
- history/index.md
- Magit Git Log: history/magit-git-log.md
- Track commits: history/track-commits.md
- Blame: blame.md
- Rebasing:
- rebasing/index.md
- local repositories: rebasing/index.md
- Ignoring files:
- ignoring-files/index.md
- Global Ignore: ignoring-files/global-ignore.md