Repository navigation
DS1: the docs site on Workers - #2
Merged
Merged
Conversation
Vercel's Docusaurus example (vercel/examples framework-boilerplates/docusaurus-2 at de86723: Docusaurus 2.0.1's classic template) in apps/web, moved to Docusaurus 3.10.2 — React 19, MDX 3, prism-react-renderer 2, an ESM config, onBrokenMarkdownLinks under markdown.hooks — and built fully static: docusaurus build writes every docs page, blog post, tag page, archive, the RSS and Atom feeds, the sitemap and the 404 page to build/, and one small Worker (worker/index.ts) hands requests matching no file back to the assets for the site's 404 page. Links without a trailing slash, as Docusaurus renders them, answered directly (html_handling drop-trailing-slash). The docs and the blog live under content/ (apps/web/docs is the component's generated catalog pages). The site's name and repository are one seam (site.js SITE_NAME, SOURCE_URL) that docusaurus.config.js reads for the title, the navbar, the footer, the GitHub links and every Edit this page link; each deploy builds for its own origin (PUBLIC_SITE_URL: SITE_URL, else the environment's workers.dev URL). component.yaml is the deploy contract with a smoke over /, /docs/intro, the blog's feed and a 404. tests/web (vitest): the seam and where the config reads it, the edit links, the origin, the Worker's assets config, the template's docs, sidebar and blog. typecheck, lint, test and build are green, and wrangler dev serves every docs page, post, tag page, feed, the sitemap and the 404. Co-Authored-By: Claude <noreply@anthropic.com> Orun-Task: DS-2
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.
Vercel's Docusaurus example (vercel/examples framework-boilerplates/docusaurus-2 at de86723: Docusaurus 2.0.1's classic template) in apps/web, moved to Docusaurus 3.10.2 — React 19, MDX 3, prism-react-renderer 2, an ESM config, onBrokenMarkdownLinks under markdown.hooks — and built fully static: docusaurus build writes every docs page, blog post, tag page, archive, the RSS and Atom feeds, the sitemap and the 404 page to build/, and one small Worker (worker/index.ts) hands requests matching no file back to the assets for the site's 404 page. Links without a trailing slash, as Docusaurus renders them, answered directly (html_handling drop-trailing-slash). The docs and the blog live under content/ (apps/web/docs is the component's generated catalog pages). The site's name and repository are one seam (site.js SITE_NAME, SOURCE_URL) that docusaurus.config.js reads for the title, the navbar, the footer, the GitHub links and every Edit this page link; each deploy builds for its own origin (PUBLIC_SITE_URL: SITE_URL, else the environment's workers.dev URL). component.yaml is the deploy contract with a smoke over /, /docs/intro, the blog's feed and a 404. tests/web (vitest): the seam and where the config reads it, the edit links, the origin, the Worker's assets config, the template's docs, sidebar and blog. typecheck, lint, test and build are green, and wrangler dev serves every docs page, post, tag page, feed, the sitemap and the 404.
🤖 Generated with Claude Code