docs: merge Kimi Datasource into plugins page and add terminal tip#551
Conversation
… getting started - Merge datasource.md content into plugins.md as a dedicated section, placed between installation management and plugin manifest sections - Replace verbose feature tables with scenario-driven use cases and a condensed coverage table - Add /skill:kimi-datasource as an explicit invocation method alongside natural language; update /new references to /reload - Promote GitHub URL formats and notes to named H3 subsections within installation management - Add terminal recommendation tip (Kitty / Ghostty) in the Installation section of getting-started - Remove standalone datasource.md sidebar entries from zh and en nav
|
commit: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 757ccf17be
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| @@ -143,7 +142,6 @@ const config = withMermaid(defineConfig({ | |||
| { text: 'Model Context Protocol', link: '/en/customization/mcp' }, | |||
| { text: 'Agent Skills', link: '/en/customization/skills' }, | |||
| { text: 'Plugins', link: '/en/customization/plugins' }, | |||
There was a problem hiding this comment.
Redirect or remove the old datasource page
When the datasource sidebar entry is removed here, the old pages at docs/en/customization/datasource.md and docs/zh/customization/datasource.md are still present, so VitePress will continue to build /customization/datasource for users arriving from bookmarks or search. Those pages now duplicate the merged plugin section and already contain stale installation guidance (/new instead of the new /reload wording), so the docs can present conflicting instructions unless the old pages are deleted or redirected to plugins.md#kimi-datasource.
Useful? React with 👍 / 👎.
Delete zh/en datasource.md (content now merged into plugins.md) and add VitePress redirects so existing bookmarks and search results for /customization/datasource land on /customization/plugins instead.
Replace deleted files with minimal pages that link to the merged section in plugins.md. VitePress redirects only fire in SSG builds; dev-server visitors hitting the old URL would 404 without these stubs.
VitePress `redirects` config only fires during SSG build; the dev server ignores it, causing 404s on the old /customization/datasource URLs. Add a Vite `configureServer` middleware that handles the redirect in dev mode, while the top-level `redirects` config continues to generate meta-refresh HTML pages for the production build.
Summary
/skill:kimi-datasourceas an explicit invocation method alongside natural language; update/newreferences to/reloadin installation stepsTest plan