Better editing experience#26
Merged
ShizuhaAki merged 5 commits intomainfrom Oct 17, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
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.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
这个 PR 里放的是提高编辑体验的内容