Commit 53f8030
committed
feat: enhance documentation site with improved mermaid diagram support and tutorial refinements
Added comprehensive improvements to the documentation site to better support
interactive diagrams and provide clearer tutorial guidance for developers.
Key enhancements:
Documentation Infrastructure:
- Enhanced Mermaid diagram rendering with click-to-zoom modal functionality
- Improved responsive design for diagrams on mobile devices
- Added hover effects and better visual styling for interactive elements
- Implemented proper CSS for diagram modal overlays with escape key support
Tutorial Improvements:
- Refined Rust guided walkthrough with clearer pipeline explanations
- Updated Go guided walkthrough with enhanced component architecture details
- Improved visual flow diagrams showing the build process from WIT to WASM
- Added better context about TinyGo's native WASI Preview 2 capabilities
User Experience:
- Diagrams now expand to full-screen view when clicked for better readability
- Responsive design ensures diagrams work well on all screen sizes
- Consistent visual styling across all tutorial content
- Better separation of concerns between content and presentation
These changes improve the learning experience for developers working with
WebAssembly components by providing better visual aids and clearer explanations
of the build pipeline and component architecture concepts.1 parent 2e767fb commit 53f8030
File tree
4 files changed
+19
-33
lines changed- docs-site
- src
- content/docs/tutorials
- styles
4 files changed
+19
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
188 | 191 | | |
189 | 192 | | |
190 | 193 | | |
| |||
Lines changed: 5 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 26 | + | |
| 27 | + | |
38 | 28 | | |
39 | 29 | | |
40 | 30 | | |
| |||
Lines changed: 4 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 25 | + | |
| 26 | + | |
38 | 27 | | |
39 | 28 | | |
40 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| 179 | + | |
178 | 180 | | |
179 | 181 | | |
180 | 182 | | |
| |||
233 | 235 | | |
234 | 236 | | |
235 | 237 | | |
236 | | - | |
| 238 | + | |
| 239 | + | |
237 | 240 | | |
238 | 241 | | |
239 | 242 | | |
| |||
264 | 267 | | |
265 | 268 | | |
266 | 269 | | |
267 | | - | |
| 270 | + | |
| 271 | + | |
268 | 272 | | |
269 | 273 | | |
270 | 274 | | |
| |||
0 commit comments