Skip to content

docs: update editLink config#12220

Merged
chenjiahan merged 1 commit intomainfrom
syt/fix-edit-link
Nov 17, 2025
Merged

docs: update editLink config#12220
chenjiahan merged 1 commit intomainfrom
syt/fix-edit-link

Conversation

@SoonIter
Copy link
Copy Markdown
Member

Summary

docs: update editLink config

Related links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings November 17, 2025 11:57
@netlify
Copy link
Copy Markdown

netlify bot commented Nov 17, 2025

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 30da61c
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/691b0dc81622360008ac2a7a
😎 Deploy Preview https://deploy-preview-12220--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added team The issue/pr is created by the member of Rspack. release: document release: document related release(mr only) labels Nov 17, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the editLink configuration in the rspress documentation site by moving it from locale-specific settings to the parent theme configuration level, consolidating the duplicate docRepoBaseUrl declarations.

Key Changes

  • Moved editLink configuration from individual locale objects to the parent themeConfig level
  • Removed duplicate docRepoBaseUrl declarations (same URL was used in both en and zh locales)
  • Removed locale-specific text properties for the edit link

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chenjiahan chenjiahan merged commit 0853cbf into main Nov 17, 2025
35 checks passed
@chenjiahan chenjiahan deleted the syt/fix-edit-link branch November 17, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants