feat(plugin-typedoc): Add setup callback for TypeDoc customization#2841
Merged
SoonIter merged 3 commits intoweb-infra-dev:mainfrom Dec 8, 2025
Merged
feat(plugin-typedoc): Add setup callback for TypeDoc customization#2841SoonIter merged 3 commits intoweb-infra-dev:mainfrom
SoonIter merged 3 commits intoweb-infra-dev:mainfrom
Conversation
✅ Deploy Preview for rspress-v2 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new setup callback option to the TypeDoc plugin, allowing users to customize the TypeDoc Application before documentation generation. This addresses issue #2642 by providing a hook for advanced TypeDoc configuration.
Key changes:
- Added a new optional
setupcallback parameter to thePluginTypeDocOptionsinterface - The callback is invoked after TypeDoc Application bootstrapping but before document conversion
- Documentation added in both English and Chinese for the new configuration option
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/plugin-typedoc/src/index.ts | Added setup callback parameter to the plugin interface and implementation to allow TypeDoc Application customization |
| website/docs/en/plugin/official-plugins/typedoc.mdx | Added English documentation for the new setup configuration option |
| website/docs/zh/plugin/official-plugins/typedoc.mdx | Added Chinese documentation for the new setup configuration option |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
2097c2e to
051c33d
Compare
SoonIter
reviewed
Dec 4, 2025
# Conflicts: # packages/plugin-typedoc/src/index.ts
051c33d to
e76d56b
Compare
e76d56b to
32bbd73
Compare
SoonIter
approved these changes
Dec 8, 2025
Member
|
thanks ❤️️ |
SoonIter
approved these changes
Dec 8, 2025
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.
Summary
This PR adds a new
setupoption to the@rspress/plugin-typedocplugin, allowing users to customize the TypeDoc Application before document generation.Example
Related Issue
close #2642
Checklist