Draft
Conversation
Size ComparisonDetails
✅ None of the examples has changed their size significantly. |
832800f to
0ec8ecd
Compare
|
Visit the preview URL for this PR (updated for commit 82d0745): https://yew-rs--pr4069-yew-docs-185gwe7t.web.app (expires Sat, 21 Mar 2026 11:02:55 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
Madoshakalaka
added a commit
that referenced
this pull request
Mar 13, 2026
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/next
Madoshakalaka
added a commit
that referenced
this pull request
Mar 13, 2026
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/next
82d0745 to
ce3a6d7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #2779
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.
This is a quite faithful rewrite of our old docusaurus based website.
Key features:
Some design choices and notes:
thirtyfour,chromiumoxidewere considered and Fantoccini has the most downloads, most stars, most recent release cadence../yew-rs/ssg/, accepts--jobs Nand--skip-wasm-optflags that can shrink build time greatly. Since we don't have beefy runners and we do have to run wasm-opt in the CI, a fresh build might take one hour.{category}/introduction.mdxfiles. Most pages (7 out of 9) have aslugin the old mdx files so that the slug{category}by itself shows the introduction page, (and{category}/introductiongives a 404). The only two exceptions are:https://yew.rs/docs/next/getting-started/introductionandhttps://yew.rs/docs/advanced-topics/struct-components/introduction. The new code unifies the aliasing behaviour. It means old references todocs/next/getting-started/introductionanddocs/advanced-topics/struct-components/introductionwill hit 404.Todos