Remove obsolete redirect docs from /doc/{env,json,cli}.md#596
Remove obsolete redirect docs from /doc/{env,json,cli}.md#596
Conversation
Co-authored-by: NewFuture <[email protected]>
Co-authored-by: NewFuture <[email protected]>
|
@copilot keep but remove the |
Co-authored-by: NewFuture <[email protected]>
|
@copilot 再次检查所有markdown 和 yaml 是否还有对这这些删除文件的引用(索引) |
There was a problem hiding this comment.
Pull Request Overview
This PR removes obsolete redirect stub files that were previously used to guide users from old documentation paths (/doc/) to their new locations (/doc/config/). The redirect files contained simple markdown messages directing users to update their bookmarks, but are no longer needed as all references in the codebase already point to the correct paths.
- Removes 6 redirect stub files (Chinese and English versions of env, json, and cli documentation)
- All existing references in the codebase already use the correct paths (
doc/config/*.md) - The actual documentation files remain in place at
doc/config/
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| doc/json.md | Removed redirect stub to config/json.md |
| doc/json.en.md | Removed English redirect stub to config/json.en.md |
| doc/env.md | Removed redirect stub to config/env.md |
| doc/env.en.md | Removed English redirect stub to config/env.en.md |
| doc/cli.md | Removed redirect stub to config/cli.md |
| doc/cli.en.md | Removed English redirect stub to config/cli.en.md |
Checked all markdown and YAML files. ✅ No broken references found. All references correctly point to |
Removed old manual redirect stub files from the
/doc/directory that were pointing to their new locations in/doc/config/.Changes
doc/{env,json,cli}.{md,en.md}(6 files total)doc/env.md→ redirected toconfig/env.mddoc/env.en.md→ redirected toconfig/env.en.mddoc/json.md→ redirected toconfig/json.mddoc/json.en.md→ redirected toconfig/json.en.mddoc/cli.md→ redirected toconfig/cli.mddoc/cli.en.md→ redirected toconfig/cli.en.mdNote: The
jekyll-redirect-fromplugin anddoc/providers/dnscom.{md,en.md}redirect files are intentionally preserved as they use Jekyll-based redirects and are still needed for the DNS.COM → 51DNS migration.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.