internal/planning/docs-improvement/GITHUB_ISSUE_DRAFT.md
Copy/paste this into a new GitHub issue
[RFC] Documentation Information Architecture Redesign
documentationenhancementdiscussionReact on Rails documentation has unclear navigation structure that makes it difficult for users to find information and understand the learning path.
1. 11 Confusing Categories
Our documentation is organized into 11 categories with unclear purposes:
User impact: Can't find information quickly, no clear beginner→advanced progression.
2. Homepage File Conflict
Two files in the repo map to the same docs homepage URL:
docs/home.md → /react-on-rails/docs/docs/README.md → /react-on-rails/docs/Only one can render (non-deterministic which "wins"). This creates confusion about which file is the actual homepage.
Note: Website build appears outdated (last deployed Sept 21, PR #1813 merged Sept 23). We should verify the actual user experience after the website rebuilds with latest docs from master branch. The entry points problem may need reassessment once the site is updated.
3. No Clear User Journey
Documentation is organized by implementation details (Javascript, Rails, API) rather than user needs (Getting Started, Building Features, Troubleshooting).
Beginners see advanced topics (streaming SSR, conditional rendering) mixed with basics (installation, first component).
Reorganize around user journey stages:
1. 🚀 Getting Started → Onboarding, first component (6-8 docs)
2. 📚 Core Concepts → SSR, bundling, how it works (8-10 docs)
3. 🔧 Building Features → Common patterns, integrations (10-12 docs)
4. 📖 API Reference → View helpers, config, JS API (5-7 docs)
5. 🚢 Deployment → Production, troubleshooting (8-10 docs)
6. 🔄 Migration → Upgrading, migrating from others (5-7 docs)
7. 💎 React on Rails Pro → Pro features (2-3 docs)
Removed from user navigation:
CONTRIBUTING.mdCreate one clear homepage: docs/introduction.md
Contains:
Resolve homepage conflict:
home.md or README.md should be homepage, or replace both with introduction.md/docs/sc-website repo)Update gatsby-node.js:
introduction.md as homepageEstimated: 2-3 hours
react_on_rails repo)Create new folder structure:
docs/
├── introduction.md # NEW HOMEPAGE
├── getting-started/
│ ├── quick-start.md
│ ├── installation.md
│ └── tutorial.md
├── core-concepts/
├── building/
├── api-reference/
├── deployment/
├── migration/
└── pro/
Move ~80 files to new locations with git mv (preserves history).
Estimated: 4-5 hours
introduction.md homepagegetting-started.md into appropriate sectionsEstimated: 6-8 hours
CONTRIBUTING.mdEstimated: 5-6 hours
Total estimated time: 22-28 hours (~3-4 days)
✅ Find information in <10 seconds - Clear category names ✅ Understand learning path - Beginner→Advanced progression ✅ One obvious starting point - No more confusion ✅ Professional appearance - No internal docs, no "Outdated" category
✅ Easier to add new content - Clear category homes ✅ Better organization - No more catch-all categories ✅ Reduced support burden - Users find answers faster
Website rebuild: Should we trigger a website rebuild first to see current state with PR #1813 changes before planning further?
Category structure: Do these 7 categories make sense for user journeys?
Entry point strategy: Is one introduction.md homepage the right approach?
Contributor docs: Should they go in CONTRIBUTING.md or separate /contributing/ site?
Testimonials: Best place on marketing site?
Implementation order: Should we do website config first (Phase 1) to test, or all at once?
Rollback plan: Satisfied with git revert strategy if issues arise?
Once approved:
Note: This addresses Section 1 (Information Architecture) problems. After completion, we can tackle Section 2 (Beginner Onboarding) issues like missing conceptual guides.