-
Notifications
You must be signed in to change notification settings - Fork 0
docs(site): land the bilingual Rspress documentation site with GitHub Pages delivery #384
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 all commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
fae080c
docs(site): scaffold @agent-bundle/docs workspace
ScriptedAlchemy b6bdf72
docs(site): configure rspress with typedoc, llms, twoslash, sitemap
ScriptedAlchemy adf6050
docs(site): point zh hero action at zh api route
ScriptedAlchemy 6012ae9
docs(site): add family-parity home metadata, hero image, shiki transf…
ScriptedAlchemy f82c1ad
docs(site): localize zh hero image alt text
ScriptedAlchemy 24224a4
docs(site): add bilingual guide start and authoring pages
ScriptedAlchemy 6e869b5
docs(site): register guide sections in the sidebar and nav
ScriptedAlchemy d9968ba
docs(site): list the routes config field in the configuration model
ScriptedAlchemy 23d487e
docs(site): use globalStyles and explicit shiki grammar set
ScriptedAlchemy 8e54009
docs(site): correct hook reason scope and zh fence annotations
ScriptedAlchemy fd45848
docs(site): add bilingual guide development pages
ScriptedAlchemy c3ca4fa
docs(site): add bilingual guide distribution pages
ScriptedAlchemy 3c3082b
docs(site): add bilingual reference section and nav entry
ScriptedAlchemy 034b4a0
docs(site): add bilingual examples section
ScriptedAlchemy 1e50f33
docs(site): add bilingual contributing section
ScriptedAlchemy 85e824e
docs(site): declare zod for Twoslash so package-entry samples resolve
ScriptedAlchemy a99e057
docs(site): generate host, event, notice, and diagnostics reference p…
ScriptedAlchemy 21f909c
docs(site): document event routes and the hook wire; link config fiel…
ScriptedAlchemy 4e0e0b0
ci(docs): add Docs workflow with Pages deploy, treat website/ as docs…
ScriptedAlchemy 1ad5fd7
docs: version the Rspress docsite design spec and implementation plan
ScriptedAlchemy a94011a
docs(site): family-parity homepage actions, linked feature cards, and…
ScriptedAlchemy e1544b0
docs(site): describe the omitted Claude stdio cwd accurately
ScriptedAlchemy b9e04fa
docs(site): finalize homepages and top navigation
ScriptedAlchemy 014fb74
docs(site): sharpen the examples overview copy
ScriptedAlchemy b8fa712
docs(site): correct host plugin-data tokens and reference wording
ScriptedAlchemy acd9a3f
docs(site): correct example and contributing claims, unify zh Skill term
ScriptedAlchemy 04a42a1
docs(site): drop the custom build verifier in favor of Rspress built-…
ScriptedAlchemy 24c21b6
ci(docs): describe the build gate without the removed verifier
ScriptedAlchemy 8f02076
docs(site): expand the landing pages with a write-vs-emit walkthrough
ScriptedAlchemy 5f46d13
docs(site): apply browser-acceptance fixes
ScriptedAlchemy 48e1212
docs(site): point the homepage diagnostics mention at the generated r…
ScriptedAlchemy 68f5e31
docs(site): correct four reference claims the source contradicts
ScriptedAlchemy 470430a
ci(docs): lint website-only changes and allow manual redeploys
ScriptedAlchemy 491fca9
ci(docs): serialize main deploys and guard against stale Pages rollbacks
ScriptedAlchemy 1f232e6
docs(site): name the package whose peer range the preview publish rew…
ScriptedAlchemy 4ac30dd
Merge remote-tracking branch 'origin/main' into docs/rspress-website-…
ScriptedAlchemy 53b88e0
docs(agents): require docsite updates alongside user-facing changes
ScriptedAlchemy fac71e4
chore: add changeset for the agent-bundle README documentation link
ScriptedAlchemy 3e0f86d
docs(site): make the hooks simulate example runnable as written
ScriptedAlchemy 32deb54
chore(changeset): drop the duplicate README-link changeset
ScriptedAlchemy 1c9332d
Merge remote-tracking branch 'origin/main' into docs/rspress-website-…
ScriptedAlchemy af6ed18
docs(site): point repo-relative links in the copied diagnostics page …
ScriptedAlchemy 2a66dbc
docs(site): resolve the review threads on quick start, examples, and …
ScriptedAlchemy 6f181df
Merge remote-tracking branch 'origin/main' into docs/rspress-website-…
ScriptedAlchemy eae9eb8
docs(site): resolve the second review round on the merged head
ScriptedAlchemy 739769b
docs(site): say which examples expose a dev script
ScriptedAlchemy a7ae3cd
docs(plan): record why the docsite build verifier was dropped
ScriptedAlchemy 233c0a8
docs(site): resolve the third review round on hooks and the host matrix
ScriptedAlchemy d6eeb77
docs(site): use the hook name the page's declaration really emits
ScriptedAlchemy 98cc1a2
docs(site): document doctor --json and the CLI artifact default
ScriptedAlchemy f3907c2
docs(site): state the real default artifact root of the CLI build
ScriptedAlchemy c5bb432
docs(site): use the CLI's real artifact root and the emitted hook name
ScriptedAlchemy 52bfe2c
Merge remote-tracking branch 'origin/docs/rspress-website-landing' in…
ScriptedAlchemy 350bc14
docs(site): document every host-scoped config field for claude, codex…
ScriptedAlchemy 2332ca3
Merge remote-tracking branch 'origin/main' into docs/rspress-website-…
ScriptedAlchemy 4b68a64
Merge remote-tracking branch 'origin/main' into docs/rspress-website-…
ScriptedAlchemy 03c60b6
chore(changeset): drop the --output help claim now that main ships it…
ScriptedAlchemy 9cf3a82
Merge remote-tracking branch 'origin/docs/rspress-website-landing' in…
ScriptedAlchemy a24a7c5
docs(site): correct Skill frontmatter keys and name the real docs scr…
ScriptedAlchemy bd09399
docs(site): document the agent-bundle/routes entry point
ScriptedAlchemy bf6de9c
Merge remote-tracking branch 'origin/main' into docs/rspress-website-…
ScriptedAlchemy 64df2de
docs(site): explain the bin exception to convention claims
ScriptedAlchemy d0043a4
Merge remote-tracking branch 'origin/main' into docs/rspress-website-…
ScriptedAlchemy f299184
docs(site): list codex.marketplace and scope the error-only exit claim
ScriptedAlchemy 0275f77
Merge remote-tracking branch 'origin/main' into docs/rspress-website-…
ScriptedAlchemy f5b83aa
docs(site): list codex.marketplace and scope the error-only exit clai…
ScriptedAlchemy 2519ae3
docs(site): describe the routed CLI shipped inside host artifacts
ScriptedAlchemy f4dd3cb
Merge remote-tracking branch 'origin/docs/rspress-website-landing' in…
ScriptedAlchemy a5f5284
docs(site): document the cursor host key and scope the exit claim on …
ScriptedAlchemy 2808c6e
docs: restore the AB4765-AB4766 diagnostics entries
ScriptedAlchemy 11a69be
docs(site): correct hook-availability, Codex token, and evals coverage
ScriptedAlchemy a7cf441
docs(site): spell out the Codex MCP path-token rule beside the host t…
ScriptedAlchemy de1360c
Merge remote-tracking branch 'origin/main' into docs/rspress-website-…
ScriptedAlchemy e67bfe3
docs(site): document shared layout modules
ScriptedAlchemy 757bdc3
Merge remote-tracking branch 'origin/main' into docs/rspress-website-…
ScriptedAlchemy 6182c79
docs(site): scope marketplace to Cursor, place the root manifest, ren…
ScriptedAlchemy 874082b
docs(site): state the one token-bearing cwd Claude accepts
ScriptedAlchemy 88e5e9b
Merge remote-tracking branch 'origin/docs/rspress-website-landing' in…
ScriptedAlchemy a345524
docs(site): document the dev-epoch proof level and qualify the homepa…
ScriptedAlchemy 325c919
Merge remote-tracking branch 'origin/main' into docs/rspress-website-…
ScriptedAlchemy 2888cda
docs(site): name the one example with a scripted diagnostic walkthrou…
ScriptedAlchemy 8b8e7f8
docs(site): document installer replacement and the inspect kinds matrix
ScriptedAlchemy c91063a
Merge remote-tracking branch 'origin/docs/rspress-website-landing' in…
ScriptedAlchemy 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "agent-bundle": patch | ||
| --- | ||
|
|
||
| Link the package README to the hosted documentation site so `npm` readers can find the full guide, configuration, host, event, notice, and diagnostics references. The pinned Cursor and portable capability tables now record Cursor's `.cursor-plugin/marketplace.json` path and the portable `${PLUGIN_ROOT}`/`${PLUGIN_DATA}` tokens, so the generated host matrix matches what the adapters emit. (#384) |
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 |
|---|---|---|
| @@ -0,0 +1,98 @@ | ||
| name: Docs | ||
|
|
||
| # Validates the Rspress documentation site (website/) on every pull request | ||
| # and push to main, and deploys website/doc_build to GitHub Pages from main | ||
| # (on push, or on a manual dispatch of the main branch). | ||
| # | ||
| # No `paths:` filter on purpose: package-source changes can break TypeDoc | ||
| # generation and the generated reference pages without touching website/**, | ||
| # and a path-filtered workflow can never safely become a required check. | ||
| # Website-only PRs skip the heavy jobs in ci.yml (scripts/classify-docs-only.mjs | ||
| # treats website/** as docs-only) because this workflow covers them. | ||
| # | ||
| # One-time prerequisite: repository Settings -> Pages -> Source must be | ||
| # "GitHub Actions" (REST: build_type=workflow), or deploy-pages fails. | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: [main] | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| # PR pushes cancel the superseded run of the same PR. Every run that can | ||
| # deploy (push or manual dispatch on main) shares one non-cancelling group so | ||
| # build-and-deploy runs execute in order and an older, slower build can never | ||
| # deploy over a newer one (GitHub keeps at most one pending run per group, so | ||
| # a superseded pending build is dropped, never reordered). Dispatches on other | ||
| # refs get SHA-keyed groups. | ||
| concurrency: | ||
| group: docs-${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' && 'main' || github.event.pull_request.number || github.sha }} | ||
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
|
|
||
| jobs: | ||
| build: | ||
| name: Docs site (Node 22.19) | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 25 | ||
| steps: | ||
| - uses: actions/checkout@v7 | ||
| - uses: pnpm/setup@v2 | ||
| with: | ||
| cache: true | ||
| install: false | ||
| runtime: node@22.19.0 | ||
| - run: pnpm install --frozen-lockfile | ||
| # Website-only PRs skip every ci.yml job that lints, so lint here too. | ||
| - run: pnpm lint | ||
| # Typecheck the site config and build it. Rspress's own dead-link, | ||
| # dead-anchor, dead-image, and language-parity checks fail the build if | ||
| # TypeDoc or the generated reference pages are missing, since the | ||
| # authored pages link to them. | ||
| - run: pnpm docs:site:build | ||
| - name: Upload Pages artifact | ||
| if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') | ||
| uses: actions/upload-pages-artifact@v5 | ||
| with: | ||
| path: website/doc_build | ||
|
|
||
| deploy: | ||
| name: Deploy to GitHub Pages | ||
| needs: build | ||
| if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 10 | ||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| # Never cancel an in-flight Pages deployment. | ||
| concurrency: | ||
| group: pages | ||
| cancel-in-progress: false | ||
| steps: | ||
| # Re-running an older main run (or any path that bypasses the queue | ||
| # above) must not publish a stale site: only deploy when this commit is | ||
| # still the head of main. | ||
| - name: Confirm this commit is still the head of main | ||
| id: head | ||
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| run: | | ||
| head="$(gh api "repos/${GITHUB_REPOSITORY}/branches/main" --jq .commit.sha)" | ||
| if [ "$head" = "$GITHUB_SHA" ]; then | ||
| echo "deploy=true" >> "$GITHUB_OUTPUT" | ||
| else | ||
| echo "deploy=false" >> "$GITHUB_OUTPUT" | ||
| echo "Skipped deploy: main moved to ${head}; this run built ${GITHUB_SHA}." >> "$GITHUB_STEP_SUMMARY" | ||
| fi | ||
| - if: steps.head.outputs.deploy == 'true' | ||
| uses: actions/configure-pages@v6 | ||
| - if: steps.head.outputs.deploy == 'true' | ||
| id: deployment | ||
| uses: actions/deploy-pages@v5 | ||
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
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
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.