Skip to content

Better editing experience#26

Merged
ShizuhaAki merged 5 commits intomainfrom
feature/better-editing
Oct 17, 2025
Merged

Better editing experience#26
ShizuhaAki merged 5 commits intomainfrom
feature/better-editing

Conversation

@ShizuhaAki
Copy link
Copy Markdown
Collaborator

这个 PR 里放的是提高编辑体验的内容

@JingYiJun JingYiJun requested a review from fduTristin October 14, 2025 07:37
Copilot AI review requested due to automatic review settings October 14, 2025 12:37
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

改善编辑体验:将“编辑此页”引导到站内编辑向导页,再跳转至 GitHub,同时补充项目欢迎页与贡献指南,并调整首页入口

  • 新增编辑引导页和全局 EditButton 组件,统一“编辑此页”的跳转流程
  • 更新 editLink 配置与首页入口链接;新增项目欢迎页与贡献指南文档
  • 在主题中注册 EditButton 组件以便在文档中直接使用

Reviewed Changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
docs/.vitepress/config/zh.ts 将 editLink 指向站内编辑引导页;调整侧边栏条目
docs/.vitepress/theme/components/EditButton.vue 新增编辑按钮组件,从查询参数构造 GitHub 编辑链接
docs/.vitepress/theme/index.ts 全局注册 EditButton 组件
docs/edit-landing.md 新增编辑引导页,嵌入 EditButton
docs/index.md 首页按钮链接到项目欢迎页
docs/project/welcome.md 新增项目欢迎页
docs/project/contributing.md 新增贡献指南

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread docs/.vitepress/theme/components/EditButton.vue
Comment thread docs/.vitepress/theme/components/EditButton.vue
Comment thread docs/.vitepress/config/zh.ts
Comment thread docs/.vitepress/config/zh.ts
Comment thread docs/project/contributing.md Outdated
Comment thread docs/project/welcome.md Outdated
ShizuhaAki and others added 3 commits October 14, 2025 20:42
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ShizuhaAki ShizuhaAki merged commit e221265 into main Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants