5.2 KiB
5.2 KiB
Product Requirements Document: Documentation Restructuring
Executive Summary
This PRD outlines the plan to restructure Continue's documentation from 10+ navigation sections to 5 main sections, improving discoverability and user experience.
Goals
- Improve Discoverability - Make features easier to find without prior knowledge
- Simplify Navigation - Reduce from 10+ to 5 main sections
- Standardize Content - Consistent structure across all feature pages
- Maintain SEO - Preserve existing URLs with proper redirects
Timeline: 4-Day Implementation Plan
Day 1: Planning & Documentation
Tasks:
- Create comprehensive URL mapping document (old → new paths)
- Document all internal link dependencies
- Create redirect strategy for netlify.toml
- Set up staging environment for testing
Deliverables:
- URL_MAPPING.md with all path changes
- Internal links audit document
- Draft netlify.toml with redirects
Day 2: Structure Implementation
Tasks:
- Restructure sidebars.js with 5 main sections
- Update top navigation in docusaurus.config.js
- Create new directory structure
- Move files to new locations
- Create section overview pages
- Set up Guides section structure
Deliverables:
- Updated sidebars.js
- Updated top navigation bar
- Reorganized file structure
- 5 new section overview pages
- Guides section scaffold
Day 3: Content Updates
Tasks:
- Standardize feature pages (How it works, Quick start)
- Implement VS Code/JetBrains tabbed install guides
- Fix broken image
- Update all internal links
- Add installation reminders in feature intros
Deliverables:
- Standardized feature documentation
- Updated install guides with tabs
- Fixed internal links
Day 4: Testing & Deployment
Tasks:
- Test all redirects on staging
- Verify no broken links
- Performance testing
- Deploy to production
- Monitor 404 errors
Deliverables:
- Testing report
- Deployment checklist
- Post-deployment monitoring plan
New Information Architecture (5 Main Sections)
Top Navigation Bar Updates
The top navigation will be updated to include:
- Documentation (renamed from "User Guide") - Links to the main docs
- Guides (NEW) - Tutorials and how-to articles converted from blog posts
- Example: "Using Ollama with Continue: A Developer's Guide"
- Will migrate relevant blog content to structured guides
- Explore - Direct link to the Continue Hub
Documentation Structure
1. Getting Started
getting-started/
├── install.mdx (with VS Code/JetBrains tabs)
├── overview.mdx
└── quick-start.mdx
2. Core Features
features/
├── overview.mdx
├── chat/
│ ├── how-it-works.mdx
│ └── quick-start.mdx
├── autocomplete/
│ ├── how-it-works.mdx
│ └── quick-start.mdx
├── edit/
│ ├── how-it-works.mdx
│ └── quick-start.mdx
└── agent/
├── how-it-works.mdx
└── quick-start.mdx
3. Customization
customization/
├── overview.mdx
├── models.mdx
├── rules.mdx
└── blocks/
├── overview.mdx
├── mcp-tools.mdx
└── prompts.mdx
4. Hub & Sharing
hub/
├── overview.mdx
├── community.mdx
├── publishing.mdx
├── featured-assistants.mdx
└── using-assistants.mdx
5. Advanced
advanced/
├── overview.mdx
├── context-integration/
│ ├── codebase.mdx
│ ├── documentation.mdx
│ ├── custom-providers.mdx
│ └── slash-commands.mdx
├── deep-dives/
├── model-providers/
├── model-roles/
├── telemetry.mdx
├── troubleshooting.mdx
├── reference.mdx
└── yaml-migration.mdx
Redirect Strategy
Implementation
- Track all URL changes in URL_MAPPING.md
- Generate netlify.toml redirects with 301 status codes
- Test redirects on staging before production
Example Redirects
[[redirects]]
from = "/chat/how-to-use-it"
to = "/features/chat/quick-start"
status = 301
[[redirects]]
from = "/autocomplete/how-to-use-it"
to = "/features/autocomplete/quick-start"
status = 301
Success Metrics
- User Navigation Time - Reduced time to find features
- 404 Error Rate - <0.1% after redirect implementation
- Documentation Feedback - Improved user satisfaction scores
- Search Performance - Better SEO rankings maintained
Risk Mitigation
- Broken Links - Comprehensive redirect testing on staging
- SEO Impact - 301 redirects preserve link equity
- User Confusion - Clear migration notices if needed
- Rollback Plan - Git history allows quick reversion
Testing Checklist
- All old URLs redirect to new locations
- Internal links work correctly
- Search functionality updated
- Mobile navigation works
- No console errors
- Page load performance acceptable
Post-Launch Tasks
- Monitor 404 errors for first week
- Update external documentation links
- Notify community of changes
- Gather user feedback
- Iterate based on analytics
Approval & Sign-off
- Engineering Lead
- Product Manager
- Documentation Team
- Community Manager