-
Notifications
You must be signed in to change notification settings - Fork 143
docs: documentation site, with the examples as embedded playgrounds #233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 53 commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
23f9b84
initial mockup
dimitropoulos ef796d8
docs: add Astro Starlight documentation site
dimitropoulos 0c3a7d7
Merge remote-tracking branch 'origin/main' into docs/astro-starlight-…
dimitropoulos 4b4f1ad
docs: cover URL serialization and validator schema evolution
dimitropoulos 869f23b
docs: rebuild the theme around a WebGL network hero
dimitropoulos 26687af
docs: answer the questions readers actually ask
dimitropoulos 023b20b
docs: make the docs site the single source of truth
dimitropoulos 08d883f
docs: generate a social card for every page
dimitropoulos bb81aec
Add a session-recovery example, and a WebSocket playground to run it
dimitropoulos aabf3db
Show whole files in the docs, and split the examples so that is readable
dimitropoulos 5ce3fcb
Give all three examples the same standalone chrome
dimitropoulos a1b166a
Take the em dashes out of the docs, examples and READMEs
dimitropoulos 01bda21
Give the example apps depth, and stop trusting the UA slider
dimitropoulos ea179e5
Make light mode a real scheme, and put the network behind every page
dimitropoulos 6eb70d4
Edit the docs against the no-ai-slop standard
dimitropoulos 27009d9
Fix the favicon, which was never a caching problem
dimitropoulos a367e1e
docs: lint Markdown in CI, align tables, introduce every code block
dimitropoulos b499505
docs: stop the section rule striking through headings that wrap
dimitropoulos b07dbce
docs: let inline code carry its own weight
dimitropoulos 1698d2d
docs: give the backdrop depth of field and the occasional round trip
dimitropoulos b71efe0
docs: make the theme wipe one continuous sweep
dimitropoulos d0b96dd
docs: edit the example READMEs against the same standard as the docs
dimitropoulos 1ce8816
docs: repunctuate the double hyphens in the docs README
dimitropoulos 14df1f1
docs: cross-fade the theme instead of wiping it
dimitropoulos 1a4fcb9
docs: make the graph backdrop answer the pointer
dimitropoulos cfdc268
docs: make the hero sphere answer the pointer
dimitropoulos 33b9b4d
docs: immediate theme flip, and two rounds of graph feedback
dimitropoulos 4c130e0
docs: stop hover transitions animating the theme change
dimitropoulos 7f74214
stuff
dimitropoulos ac56bc6
docs: prefetch on hover, to stop the black flash between pages
dimitropoulos dbda818
docs: cache headers, so the prefetch is actually usable
dimitropoulos f8587f0
docs: draw the node field with CSS instead of burning a core on it
dimitropoulos 2876737
docs: measure the bundle at build time instead of asserting 10 kB
dimitropoulos 98964ed
docs: corrections to RpcTarget, validation, comparisons and interop
dimitropoulos e74925f
docs: the hero stage is no longer a canvas, so stop calling it one
dimitropoulos ea4ea16
docs: weld the node field back together
dimitropoulos b17ea5b
docs: move the site from Starlight to Nimbus
dimitropoulos 6127cd8
docs: put the theme back on the Nimbus site
dimitropoulos ee96e9f
docs: two fixes the harnesses found in the starter's own pages
dimitropoulos d71b6d3
docs: put the social cards on the site palette
dimitropoulos 237851c
docs: the playground's source pane was still styling Expressive Code
dimitropoulos 5dbb1ad
docs: stop deploying the OG card's font
dimitropoulos d1fe492
docs: drop the deprecated baseUrl from the docs tsconfig
dimitropoulos f00d1a5
docs: make the scaffold's agent brief this site's own
dimitropoulos 8d10b39
docs: rewrite the docs package README for the Nimbus site
dimitropoulos f71e930
docs: redesign landing (fixed-dark hero, LightTunnel vortex, bento fi…
stritt 3babdcf
docs: outline-only code blocks, lighter card hover, cleaner code figures
stritt 9adbe87
docs: match example playgrounds to site theme, widen landing measure,…
stritt f03f377
docs: drop cal-sans from the docs lockfile
dimitropoulos cc38c74
docs: resync docs README and AGENTS with the landing redesign
dimitropoulos 0ddfd49
docs: drop stale node-field references from globals.css comments
dimitropoulos bc1315b
Merge remote-tracking branch 'origin/main' into docs/astro-starlight-…
dimitropoulos 2d76b3b
docs(validation): record that capnweb-validate brings its own compiler
dimitropoulos 858bf73
docs: raise text contrast everywhere, and give the landing a real lig…
dimitropoulos a27017e
docs: make the hero windows readable and the bento art visible on paper
dimitropoulos b90e387
docs: send the return arrow's dashes the way the arrowhead points
dimitropoulos 1f0c29f
docs: pin the "Updated" date to the site locale and UTC
dimitropoulos a175ba1
chore(bonk): scope the dash rule to punctuation, and obey it
dimitropoulos c9dab4e
docs: five canvas hero backdrops at /1 to /5, laid out around the copy
dimitropoulos 36aae15
docs: eight more canvas hero backdrops, all of them textless
dimitropoulos 2f94aa8
docs: a ninth hero variant that puts the comparison in the foreground
dimitropoulos 6d0deb3
docs: rework the /9 hero -- copy first, no switcher, shared axis in t…
dimitropoulos 15316c4
docs: promote the pipelining figure to the landing page, delete the e…
dimitropoulos 51b45a9
docs: give the far end a running time, and stop wasting the top of th…
dimitropoulos 6b5701a
docs: drop the "pipeline" label, and let the axis column shrink to wh…
dimitropoulos b88322b
docs: put the hero on one 40px vertical module
dimitropoulos 316c6d6
Merge origin/main into docs/astro-starlight-site
dimitropoulos ca10a63
docs: cover `new RpcPromise(promise)`, and link the changelog
dimitropoulos c64e841
docs: set the landing page like capnproto.org -- arched wordmark and …
dimitropoulos 2082e5c
Revert "docs: set the landing page like capnproto.org -- arched wordm…
dimitropoulos 6159763
docs: a favicon that draws the round trip
dimitropoulos e61d15e
docs: set the landing page like capnproto.org -- a drawn wordmark and…
dimitropoulos 3ed2256
docs: grow the hero seal, shadow it, and drop it on narrow screens
dimitropoulos 7fa2886
docs: commit the wordmark measurements instead of just their results
dimitropoulos 8792f31
docs: give the README and the social cards the hero's banner
dimitropoulos d3233ca
docs: put Cloudflare orange on the seal and the CTA
dimitropoulos fd035d3
docs: catch the tomato the hex sweep could not see
dimitropoulos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,11 @@ | ||
| node_modules | ||
| .wrangler/ | ||
| examples/worker-react/client/dist/ | ||
| # Copied from dist/ by each example's wrangler build step. | ||
| examples/batch-pipelining/public/vendor/ | ||
| examples/session-recovery/public/vendor/ | ||
| notes.txt | ||
| /dist/ | ||
| packages/*/dist/ | ||
| # Generated by packages/docs/scripts/build-playgrounds.mjs. | ||
| packages/docs/public/playground/ |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| { | ||
| // Markdown linting for the prose in this repository: the READMEs, the | ||
| // security policy and the documentation site's content collection. | ||
| // | ||
| // Everything below is markdownlint's default rule set. The handful of | ||
| // settings here either match a convention the files already follow or turn | ||
| // off a check that is measuring the wrong thing for this repository, and | ||
| // each one says which. | ||
| "config": { | ||
| "default": true, | ||
|
|
||
| // The prose here wraps at 100 columns, not markdownlint's default 80. | ||
| // Code samples and tables are exempt because breaking either to fit a | ||
| // column limit makes them worse: a wrapped line of TypeScript no longer | ||
| // runs, and a wrapped table cell stops being a table. | ||
| "MD013": { | ||
| "line_length": 100, | ||
| "code_blocks": false, | ||
| "tables": false | ||
| }, | ||
|
|
||
| // Tabs are wrong in prose and correct in the code samples that use them, | ||
| // which includes every sample copied out of a file that is itself | ||
| // tab-indented. | ||
| "MD010": { | ||
| "code_blocks": false | ||
| }, | ||
|
|
||
| // The docs site takes each page's title from `title` in the frontmatter | ||
| // and renders it as the h1, so a document that opens with an h1 of its own | ||
| // would render two. markdownlint's own frontmatter-title escape hatch | ||
| // covers this, and is the default, but is stated here because the reason | ||
| // is not obvious from the outside. | ||
| "MD041": { | ||
| "front_matter_title": "^\\s*title\\s*[:=]" | ||
| }, | ||
|
|
||
| // Headings in this documentation are sentences and are punctuated as | ||
| // sentences. A question mark or a full stop at the end of one is a | ||
| // deliberate choice, not a stray character; a trailing colon still is | ||
| // not, so the rule keeps working on those. | ||
| // The tables in these files were already written aligned, and aligned is | ||
| // what a table should be in a plain-text diff: the columns are the point. | ||
| // `scripts/align-markdown-tables.mjs` does the padding, since markdownlint | ||
| // can only report this one, not repair it. | ||
| "MD060": { | ||
| "style": "aligned" | ||
| }, | ||
|
|
||
| "MD026": { | ||
| "punctuation": ",;:" | ||
| } | ||
| }, | ||
|
|
||
| // Prose only. See the ignores for what is deliberately out of scope. | ||
| "globs": [ | ||
| "**/*.md", | ||
|
|
||
| // Generated by changesets on release, and rewritten wholesale each time. | ||
| "!**/CHANGELOG.md", | ||
|
|
||
| // Changeset fragments. Also generated, and intentionally headingless. | ||
| "!.changeset/*.md", | ||
|
|
||
| // Agent prompts rather than documentation. They are structured with XML | ||
| // tags on purpose, which is exactly what MD033 exists to catch. | ||
| "!.opencode/**/*.md", | ||
| "!.github/**/*.md", | ||
|
|
||
| "!**/node_modules/**", | ||
| "!**/dist/**" | ||
| ], | ||
|
|
||
| // `.mdx` is deliberately absent from the globs above. markdownlint has no | ||
| // MDX parser, so it reads JSX components as raw HTML and reports every | ||
| // `<Card>` as inline HTML, and it mistakes the fenced blocks nested inside | ||
| // a component for unlabelled top-level ones. The findings would be noise | ||
| // and the fixes would be wrong. `astro check` covers those files instead. | ||
| "customRules": ["./scripts/markdownlint-no-code-after-heading.mjs"], | ||
|
|
||
| "outputFormatters": [["markdownlint-cli2-formatter-default"]] | ||
| } |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.