You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API documentation build now uses doc-kit’s TypeDoc integration and adds plugins for reflection handling and JavaScript source links. The generator writes API sidebar and index files from generated pages. The changes also remove the previous custom TypeDoc processor and theme implementation, update versioned documentation settings, and conditionally render the Contribute item.
Priority: Pending latest changes
Merge Risk: High · up to 865f2
The API documentation build depends on a local filesystem package that fresh clones and CI do not have, so it would fail until the package is published and referenced by version. Versioned API source links would also target an invalid Git ref. Resolve the dependency before merging.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks: 4 passed
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "chore: use doc-kit typedoc plugin" matches the main change. The package.json now adds the local @doc-kit/typedoc dependency, and scripts/markdown/api/utils.mjs imports load from @doc-kit/ty…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "chore: use doc-kit typedoc plugin" matches the main change. The package.json now adds the local @doc-kit/typedoc dependency, and scripts/markdown/api/utils.mjs imports load from @doc-kit/typedoc into typeDocConfig. The changeset also removes the custom processor, theme, and router plugins, which the new plugin replaces. The title is short, specific, and uses a conventional commit prefix. It does not mention the large removal of local TypeDoc plugin code, which is a secondary aspect of the change.
Full details: Docstring Coverage
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 9 files. (1 skipped: 1 unsupported.)
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Finishing Touches: 💡 2
📝 Generate docstrings: 💡
Commit to this branch
Create a new PR
🛠️ Fix failing CI checks: 💡
Commit to this branch
Create a new PR
🧪 Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
plugins/sources.mjs imports typescript at runtime. The package.json dependency lists in the supplied context do not include it. The import currently resolves only because typedoc lists it as a peer dependency, and npm hoists and auto-installs peers. A stricter linker such as pnpm, or a change in hoisting, would break the API build with ERR_MODULE_NOT_FOUND.
Add typescript to dependencies, or to devDependencies if the build only runs from a full install.
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: eba9b563-6253-4b87-b803-6fd22b6c65b5
Commits
Reviewing files that changed from the base of the PR and between 17126e1 and 865f268.
Files ignored due to path filters: 1
package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 30
components/MetaBar/index.jsx
package.json
plugins/processor/exportEquals.mjs
plugins/processor/extractHooksGroup.mjs
plugins/processor/index.mjs
plugins/processor/metadata.mjs
plugins/processor/ownership.mjs
plugins/processor/router.mjs
plugins/processor/site.mjs
plugins/processor/source.mjs
plugins/processor/synthetic.mjs
plugins/processor/typeMap.mjs
plugins/shared/categories.mjs
plugins/shared/titles.mjs
plugins/sources.mjs
plugins/theme/helpers/index.mjs
plugins/theme/index.mjs
plugins/theme/partials/index.mjs
plugins/theme/partials/types.mjs
plugins/webpack.mjs
scripts/html/doc-kit.config.mjs
scripts/markdown/api/index.mjs
scripts/markdown/api/sidebar.mjs
scripts/markdown/api/typedoc-hooks.mjs
scripts/markdown/api/utils.mjs
tests/sidebar.test.mjs
tests/theme/fixtures/input.js
tests/theme/fixtures/tsconfig.json
tests/theme/theme.test.mjs
tests/theme/theme.test.mjs.snapshot
Files with no reviewable changes: 20
tests/theme/fixtures/tsconfig.json
tests/theme/fixtures/input.js
plugins/shared/categories.mjs
plugins/theme/partials/index.mjs
plugins/processor/ownership.mjs
tests/theme/theme.test.mjs.snapshot
plugins/processor/exportEquals.mjs
plugins/processor/index.mjs
plugins/processor/typeMap.mjs
tests/theme/theme.test.mjs
plugins/processor/site.mjs
plugins/processor/extractHooksGroup.mjs
plugins/processor/source.mjs
plugins/theme/partials/types.mjs
plugins/processor/synthetic.mjs
plugins/processor/router.mjs
plugins/processor/metadata.mjs
plugins/theme/helpers/index.mjs
plugins/shared/titles.mjs
plugins/theme/index.mjs
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
One or more co-authors of this pull request were not found. You must specify co-authors in commit message trailer via:
Co-authored-by: name <email>
Supported Co-authored-by: formats include:
Anything <id+login@users.noreply.github.com> - it will locate your GitHub user by id part.
Anything <login@users.noreply.github.com> - it will locate your GitHub user by login part.
Anything <public-email> - it will locate your GitHub user by public-email part. Note that this email must be made public on Github.
Anything <other-email> - it will locate your GitHub user by other-email part but only if that email was used before for any other CLA as a main commit author.
login <any-valid-email> - it will locate your GitHub user by login part, note that login part must be at least 3 characters long.
Alternatively, if the co-author should not be included, remove the Co-authored-by: line from the commit message.
Please update your commit message(s) by doing git commit --amend and then git push [--force] and then request re-running CLA check via commenting on this pull request:
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
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.
As titled
Summary by CodeRabbit