Skip to content

Documentation Improvement Plan for Oxc Website (CC) #487

@Boshen

Description

@Boshen

⏺ Documentation Improvement Plan for Oxc Website

Current State Analysis

Strengths:

  • Well-structured VitePress site with clear navigation
  • Good technical depth in parser/linter/transformer docs
  • Strong endorsements and benchmarks showcase performance benefits
  • Active blog with ~1,100 lines of content
  • Comprehensive contributor guides

Key Issues Identified:

  1. First-Time Visitor Experience

Problems:

  • Landing page assumes prior knowledge of JavaScript tooling
  • No clear "What is Oxc?" explanation for newcomers
  • Missing quick start/getting started path
  • Tool descriptions are too technical upfront

Solutions:

  • Add progressive disclosure sections on homepage
  • Create "Why Oxc?" comparison guide
  • Add visual diagrams explaining the toolchain
  • Include simple code examples showing benefits
  1. Documentation Organization & Discovery

Problems:

  • Navigation hierarchy could be clearer
  • Missing cross-references between related tools
  • Usage docs scattered across multiple sections
  • No central "concepts" or "overview" section

Solutions:

  • Restructure navigation with clearer tool relationships
  • Add overview pages for each major section
  • Create interconnected usage flows
  • Add breadcrumb navigation improvements
  1. Practical Usage Gaps

Problems:

  • Missing migration guides (from ESLint, other tools)
  • Limited real-world examples
  • Integration guides incomplete
  • Performance comparison data could be more accessible

Solutions:

  • Create migration guides for common tools
  • Add more practical examples and tutorials
  • Expand integration documentation
  • Create interactive performance comparisons
  1. Content Enhancement

Problems:

  • Some tool docs are very brief (parser, resolver)
  • Missing architectural overview for newcomers
  • Limited troubleshooting content
  • Blog content not well integrated with docs

Solutions:

  • Expand tool documentation with examples
  • Create high-level architecture guide
  • Add troubleshooting section
  • Better integrate blog insights into docs

Proposed Implementation Plan

Phase 1: Homepage & First Impressions

  1. Enhanced Landing Page
    - Add "What is Oxc?" section with visual diagrams
    - Create progressive reveal sections (novice → expert)
    - Add interactive tool comparison widget
    - Include quick wins examples
  2. Quick Start Guide
    - 5-minute setup guide
    - Common use cases with copy-paste examples
    - Tool selection wizard

Phase 2: Navigation & Structure

  1. Navigation Improvements
    - Add "Overview" sections to major categories
    - Create tool relationship diagrams
    - Improve cross-linking between related docs
    - Add contextual "What's Next" suggestions
  2. Content Organization
    - Create centralized concepts section
    - Restructure usage docs by workflow rather than tool
    - Add migration hub page

Phase 3: Content Expansion

  1. Practical Guides
    - Migration guides (ESLint → Oxlint, SWC → Oxc)
    - Integration tutorials (CI/CD, editors, bundlers)
    - Troubleshooting cookbook
  2. Enhanced Tool Documentation
    - Expand parser/resolver docs with examples
    - Add configuration recipes
    - Create performance tuning guides

Phase 4: Interactive Elements

  1. Dynamic Content
    - Interactive rule explorer for linter
    - Performance comparison calculator
    - Configuration generator tools
  2. Community Integration
    - Showcase section for projects using Oxc
    - Community contribution highlights
    - Success story case studies

This plan focuses on reducing friction for new users while maintaining the technical depth that current users value. The phased approach allows
for iterative improvements based on user feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions