-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmkdocs.yml
257 lines (241 loc) · 11.6 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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
---
# Practicalli ClojureScript
site_name: Practicalli ClojureScript
site_url: https://practical.li/clojurescript
site_description: Practical guide to ClojureScript programming language and Clojure REPL driven development
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/clojurescript/
edit_uri: https://github.com/practicalli/clojurescript/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:
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:
figwheel-main/: figwheel-workflow
# clojure-cli/data-browsers: data-inspector/
# Footer / Social Media
extra:
analytics:
provider: google
property: G-PHVDXGED7N
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
- ClojureScript Overview: introduction/clojurescript.md
- Learn ClojureScript: introduction/learn-clojurescript.md
- REPL Workflow: introduction/repl-workflow.md
- Reloadable Code: introduction/reloadable-code.md
- Figwheel: introduction/figwheel.md
- Hiccup: introduction/hiccup-style-syntax.md
- Google Closure Library: docs/introduction/google-closure-library.md
- Contributing: introduction/contributing.md
# - Single Page Apps: overview/single-page-apps.md
# - Compiling to JavaScript: overview/compiling-to-javascript.md
# - ClojureScript platforms: overview/clojurescript-platforms.md
# - Functional Programming: overview/functional-programming.md
# - Reactive apps:
# - overview/reactive-apps.md
# - Facebook React: overview/react-facebook.md
# - Om and Om Next: overview/react-om-and-om-next.md
# - Reagent: overview/react-reagent.md
# - Re-frame: overview/react-re-frame.md
# - React Native: why-clojurescript/react-native.md
# - Why ClojureScript:
# - why-clojurescript/index.md
# - Lightweight: why-clojurescript/lightweight.md
# - Google Closure: why-clojurescript/google-clojure.md
# - Source Maps: why-clojurescript/source-maps.md
# - Interoperability: why-clojurescript/interoperability.md
# - Why not JavaScript: why-clojurescript/why-not-javascript.md
# - Who uses ClojureScript: why-clojurescript/who-uses-clojurescript.md
# - Single Page Apps: introduction/single-page-apps.md
# - Isomorphic Apps: introduction/isomorphic-apps.md
# - Full Stack Apps: introduction/full-stack-apps.md
- Book Writing Tips: introduction/writing-tips.md
- Install:
- install/index.md
- Browser DevTools: install/browser-devtools.md
- Figwheel Workflow:
- figwheel-workflow/index.md
- Create Projects: figwheel-workflow/create-project.md
- Project Configuration: figwheel-workflow/project-configuration.md
- Run Figwheel: figwheel-workflow/check-configuration.md
- Rebel Rich UI: figwheel-workflow/rebel.md
- Build project: figwheel-workflow/build-project.md
- Emacs Cider: figwheel-workflow/run-figwheel-from-cider.md
- Run tests: figwheel-workflow/run-tests.md
- Continuous Tests: figwheel-workflow/continuous-testing.md
- Package project: figwheel-workflow/package-project.md
- Pages deploy: figwheel-workflow/pages-deploy.md
- Figwheel projects:
- figwheel-main-projects/index.md
- Simple project: figwheel-main-projects/simple.md
- Reagent project: figwheel-main-projects/reagent.md
- Web Design basics:
- web-design-basics/index.md
- Hiccup syntax: hiccup-style-syntax.md
- Bulma CSS: css/bulma.md
- Bootstrap:
- web-design-basics/bootstrap.md
- Container: web-design-basics/bootstrap-container.md
- Jumbotron: web-design-basics/bootstrap-jumbotron.md
- Bootstrap website: web-design-basics/clojurebridge-london-bootstrap-website.md
## Reagent Projects
- Reagent Overview:
- reagent/index.md
- ClojureBridge website:
- web-design-basics/clojurebridge-london-website/index.md
- Create project: web-design-basics/clojurebridge-london-website/create-project.md
- Add Bulma CSS: web-design-basics/clojurebridge-london-website/add-bluma-css.md
- Run the project: web-design-basics/clojurebridge-london-website/run-the-project.md
- Live reloading: web-design-basics/clojurebridge-london-website/live-reloading.md
- Hiccup for HTML: web-design-basics/clojurebridge-london-website/hiccup-for-html.md
- REPL workflow: web-design-basics/clojurebridge-london-website/repl-workflow.md
- Organising the code: web-design-basics/clojurebridge-london-website/organising-the-code.md
- Add welcome message: web-design-basics/clojurebridge-london-website/add-welcome-message.md
- Add welcome section: web-design-basics/clojurebridge-london-website/add-welcome-section.md
# - Responsive design: web-design-basics/clojurebridge-london-website/responsive-design.md
- App State section: web-design-basics/clojurebridge-london-website/app-state-section.md
- GitHub pages deploy: web-design-basics/clojurebridge-london-website/github-pages-deploy.md
- Deploy build: web-design-basics/clojurebridge-london-website/deploy-build.md
- Add Content namespace: web-design-basics/clojurebridge-london-website/add-content-namespace.md
- Navigation bar: web-design-basics/clojurebridge-london-website/add-navigation.md
- Content Suggestions: web-design-basics/clojurebridge-london-website/further-ideas.md
# - Interacting: web-design-basics/clojurebridge-london-website/interacting/index.md
- tic-tac-toe game:
- reagent-projects/tic-tac-toe/index.md
- Create Project: reagent-projects/tic-tac-toe/create-project.md
- Add Project to Git: reagent-projects/tic-tac-toe/add-project-to-git.md
- Start the REPL with Figwheel: reagent-projects/tic-tac-toe/start-the-repl.md
- Test Figwheel: reagent-projects/tic-tac-toe/test-figwheel.md
- Chrome DevTools: reagent-projects/tic-tac-toe/chrome-devtools.md
- Cljs DevTools addon: reagent-projects/tic-tac-toe/cljs-devtools-addon.md
- Review reagent Project: reagent-projects/tic-tac-toe/review-reagent-project.md
- Figwheel Helper functions: reagent-projects/tic-tac-toe/figwheel-helper-functions.md
- Interact with the REPL: reagent-projects/tic-tac-toe/interact-with-the-repl.md
- Via the Editor: reagent-projects/tic-tac-toe/interact-with-the-repl-via-editor.md
- Evaluate code in REPL: reagent-projects/tic-tac-toe/interact-with-the-repl-evaluate-code.MD
# - REPL in dev console: reagent-projects/tic-tac-toe/repl-in-developer-console.md
# - Reagent Design: reagent-projects/tic-tac-toe/reagent-design.md
# - Defining Components: reagent-projects/tic-tac-toe/reagent-design-defining-components.md -->
- Manage app-state: reagent-projects/tic-tac-toe/reagent-design-manage-app-state.md
# - Reloading State: reagent-projects/tic-tac-toe/reagent-design-reloading-state.md -->
- tictactoe-game: reagent-projects/tic-tac-toe/component-tictactoe-game.md
- Design Game board: reagent-projects/tic-tac-toe/design-game-board.md
- Game board: reagent-projects/tic-tac-toe/component-game-board.md
- Hiccup style syntax: reagent-projects/tic-tac-toe/hiccup-style-syntax.md
- Scalable Vector Graphics: reagent-projects/tic-tac-toe/svg-overview.md
- React unique index: reagent-projects/tic-tac-toe/react-unique-index.md
- Render Game Board: reagent-projects/tic-tac-toe/render-game-board.md
- Update Game Board: reagent-projects/tic-tac-toe/update-game-board.md
- Refactor into components: reagent-projects/tic-tac-toe/refactor-into-components.md
- Empty Cell: reagent-projects/tic-tac-toe/refactor--empty-cell.md
- Nought Cell: reagent-projects/tic-tac-toe/refactor--nought-cell.md
- Cross Cell: reagent-projects/tic-tac-toe/refactor--cross-cell.md
- Start new game: reagent-projects/tic-tac-toe/button--start-a-new-game.md
- Computer moves: reagent-projects/tic-tac-toe/computer-moves.md
- Basic move: reagent-projects/tic-tac-toe/computer-move--basic.md
- REPL experiments: reagent-projects/tic-tac-toe/computer-move--repl-experiments.md
- Random available cell: reagent-projects/tic-tac-toe/computer-move--random-available-cell.md
- Detecting Victory: reagent-projects/tic-tac-toe/detecting-victory.md
- Experiments in the REPL: reagent-projects/tic-tac-toe/detecting-victory-repl-experiments.md
- Experiments in the REPL - Pattern matching: reagent-projects/tic-tac-toe/detecting-victory-repl-experiments-pattern-matching.md
- Victory function: reagent-projects/tic-tac-toe/detecting-victory-function.md