docs: remove URL parameters as switches section from custom page docs#3024
docs: remove URL parameters as switches section from custom page docs#3024
Conversation
✅ Deploy Preview for rspress-v2 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR removes the "Using URL parameters as switches" section from the custom page documentation in both Chinese and English versions. The section described how to control page layout using URL query parameters (e.g., ?navbar=0&outline=0).
Changes:
- Removed the complete "Using URL parameters as switches" subsection from both language versions of the documentation
- Removed 18 lines from the Chinese documentation (zh/ui/custom-page.mdx)
- Removed 18 lines from the English documentation (en/ui/custom-page.mdx)
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| website/docs/zh/ui/custom-page.mdx | Removed the Chinese "使用 URL 参数开关" section documenting URL parameter-based layout control |
| website/docs/en/ui/custom-page.mdx | Removed the English "Using URL parameters as switches" section documenting URL parameter-based layout control |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Rsdoctor Bundle Diff AnalysisFound 3 projects in monorepo, 3 projects with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 nodePath:
📦 Download Diff Report: node Bundle Diff 📁 node_mdPath:
📦 Download Diff Report: node_md Bundle Diff 📁 webPath:
📦 Download Diff Report: web Bundle Diff Generated by Rsdoctor GitHub Action |
Summary
Related Issue
Checklist
AI Summary
Changes Made
website/docs/en/ui/custom-page.mdx) and Chinese (website/docs/zh/ui/custom-page.mdx) documentationWhat Was Removed
The removed section documented how to use URL query parameters (e.g.,
?navbar=0&outline=0) to control page layout elements at runtime. This included parameters for:navbar- Navigation bar visibilitysidebar- Sidebar visibilityoutline- Outline column visibilityfooter- Footer visibilityglobalUIComponents- Global components visibilityWhy
This documentation section was removed as requested, likely because the feature is being deprecated or the documentation was no longer accurate/needed.
This PR was written using Vibe Kanban