EditLink eject-only
Warning
This is an eject-only component, designed specifically for wrap/eject, and is not recommended for direct use in MDX files
EditLink renders an "Edit this page" link that navigates to the document source file's edit page (e.g., GitHub).
Usage
This component is usually rendered automatically as part of DocFooter and does not need to be used manually.
Related configuration
Configure editLink in rspress.config.ts:
rspress.config.ts
docRepoBaseUrl- Base URL of the documentation repositorytext- Text to display for the link
If editLink is not configured, the component will not render anything.