-
Notifications
You must be signed in to change notification settings - Fork 0
docs(website): Rspress docsite audit — every P1/P2 from #590 plus cheap P3s #599
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
15 commits
Select commit
Hold shift + click to select a range
7e30e11
ci(docs): drift, built-link, and diagnostics-coverage gates for the d…
ScriptedAlchemy 3b97df0
docs(site): feed twoslash from tsconfig.typedoc.json paths, SSG worke…
ScriptedAlchemy af3b4b6
docs(diagnostics): document every emitted AB0000–AB5999 code explicitly
ScriptedAlchemy 297e7df
docs(en): accuracy fixes, description lengths, and fence reflow for #…
ScriptedAlchemy ea2c140
docs(zh): mirror #590 accuracy fixes — CLI exit code 2 scope, hook re…
ScriptedAlchemy 4bf6abb
docs(website): nav matcher excludes reference/api; drift check normal…
ScriptedAlchemy bccc2de
docs(diagnostics): document every emitted AB6000–AB9999 code (#590, l…
ScriptedAlchemy 313d4a2
fix(website): patch @rspress/core LocalProvider.init to await FlexSea…
ScriptedAlchemy 7214c8d
fix(website): edit links, llms rows, 404 trailing slash, and code wid…
ScriptedAlchemy 2c96dc8
docs(diagnostics): explicit AB6005 row (restates #588) so every emitt…
ScriptedAlchemy 25fc4e4
changeset: diagnostics contract rows (#599)
ScriptedAlchemy 56c926e
docs(diagnostics): shorten the install-receipt placeholder so the fen…
ScriptedAlchemy d7bd20b
chore(patches): cite upstream rspress#3658 beside the @rspress/core p…
ScriptedAlchemy f146639
Merge remote-tracking branch 'origin/main' into docs/590-rspress-audit
ScriptedAlchemy 9f7d238
review: built-link check rejects targets outside doc_build; changeset…
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 | ||
| --- | ||
|
|
||
| Document every emitted diagnostic code explicitly in `docs/diagnostics.md` (the `reference/diagnostics` page). Codes that were covered only by a family row now each have a row with severity, trigger message, and — where the diagnostic carries one — recovery, read from the emitting site: `AB3000`–`AB3006`, `AB3008`–`AB3010`, `AB4000`, `AB4002`–`AB4007`, `AB4012`, `AB4100`–`AB4102`, `AB4200`–`AB4212` (including the previously undocumented `AB4204`), `AB4300`–`AB4339`, `AB4400`–`AB4408`, `AB4600`–`AB4602`, `AB4700`–`AB4716`, `AB6000`–`AB6001`, `AB6002`–`AB6003` (reserved, never emitted), `AB6004`–`AB6018` (`AB6005` restates #588), `AB6023`–`AB6025`, `AB6200`–`AB6202`, `AB7000`–`AB7004`, `AB7103`, `AB8000`–`AB8023` (including `AB8003` and `AB8004`), `AB8030`–`AB8034`, `AB8040`–`AB8057`, `AB8060`–`AB8068`, `AB8070`–`AB8083`, `AB8085`–`AB8088`, `AB8090`–`AB8093`, `AB8120`–`AB8123`, `AB9001`–`AB9005`, and `AB9007`–`AB9011`. The `AB4834` row is rewritten to three cells so the table renders. `pnpm docs:site:build` now fails when a code cited in the docs or a code literal in `packages/agent-bundle/src` has no explicit row (`website/scripts/check-diagnostics-coverage.mjs`). (#599) | ||
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,20 @@ | ||
| diff --git a/dist/theme/components/Search/logic/providers/LocalProvider.js b/dist/theme/components/Search/logic/providers/LocalProvider.js | ||
| index 1f49672061c56144b8299aef61d6b25029b143c4..3bb16cddef4176194a939202c5a1ec6a581dd82a 100644 | ||
| --- a/dist/theme/components/Search/logic/providers/LocalProvider.js | ||
| +++ b/dist/theme/components/Search/logic/providers/LocalProvider.js | ||
| @@ -78,12 +78,12 @@ class LocalProvider { | ||
| finalize: (str)=>str.flatMap((s)=>tokenize(s, cyrillicRegex)) | ||
| } | ||
| }); | ||
| + const pending = []; | ||
| for (const item of pagesForSearch){ | ||
| const flexSearchItem = item; | ||
| - this.#index.addAsync(item.routePath, flexSearchItem); | ||
| - this.#cjkIndex.addAsync(item.routePath, flexSearchItem); | ||
| - this.#cyrillicIndex.addAsync(item.routePath, flexSearchItem); | ||
| + pending.push(this.#index.addAsync(item.routePath, flexSearchItem), this.#cjkIndex.addAsync(item.routePath, flexSearchItem), this.#cyrillicIndex.addAsync(item.routePath, flexSearchItem)); | ||
| } | ||
| + await Promise.all(pending); | ||
| } | ||
| async search(query) { | ||
| const { keyword, limit } = query; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit does not modify any shipped file under the four publishable packages, but this entry causes the next Version Packages run to bump
agent-bundleand add a changelog entry anyway. The repository explicitly treatswebsiteas private and requires changesets only for changes to publishable packages, so this documentation/CI-only change should not carry anagent-bundlechangeset.AGENTS.md reference: AGENTS.md:L138-L143
Useful? React with 👍 / 👎.