Commit 7e07923
committed
feat: rewrite yew.rs website with Yew (#4069)
Replace the Docusaurus-based website with a pure Rust/Yew implementation.
The SSG pipeline compiles each page to WASM, runs wasm-bindgen and
wasm-opt, then captures SSR output for SEO-friendly HTML. All docs
(5 versions x 4 languages), blog posts, community pages, search, and
404 are generated as static files.
Key features:
- Content model with dual HTML/Markdown rendering for copy-as-markdown
- Syntax highlighting via syntect with light/dark themes
- Collapsible sidebar, table of contents, breadcrumbs, pagination
- 3-state theme toggle (light/dark/system)
- Blog with date-prefixed URLs, index, sidebar, RSS and Atom feeds
- Full-page Algolia search with version faceting
- SEO: hreflang, OG tags, JSON-LD breadcrumbs, canonical URLs
- E2E tests with fantoccini/geckodriver
- Deduplicated versioned docs across 0.20/0.21/0.22/0.23/next1 parent c6c62d7 commit 7e07923
File tree
2,839 files changed
+140023
-428
lines changed- .github/workflows
- scripts
- tools/website-e2e
- src
- tests
- website/static
- yew-rs
- blog
- src
- bin
- pages
- community
- src
- bin
- pages
- docs-0-20
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-0-21
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-0-22
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-0-23
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-ja-0-20
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-ja-0-21
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-ja-0-22
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-ja-0-23
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-ja
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-zh-hans-0-20
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-zh-hans-0-21
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-zh-hans-0-22
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-zh-hans-0-23
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-zh-hans
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-zh-hant-0-20
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-zh-hant-0-21
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-zh-hant-0-22
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-zh-hant-0-23
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs-zh-hant
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- docs
- src
- bin
- pages
- advanced_topics
- struct_components
- concepts
- basic_web_technologies
- function_components
- hooks
- html
- getting_started
- migration_guides
- yew_agent
- yew_router
- yew
- more
- tutorial
- home
- src
- bin
- lib
- src
- components
- ssg
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
2,839 files changed
+140023
-428
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | | - | |
13 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | | - | |
24 | | - | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | | - | |
27 | | - | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
49 | 50 | | |
50 | | - | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 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 | + | |
0 commit comments