Skip to content

Conversation

@jpelletier1
Copy link
Contributor

Summary

This PR restructures the OpenHands documentation navigation to better align with Devin.ai's documentation structure. The goal is to make the docs more intuitive and comprehensive for users.

Key Changes

Navigation Structure

Old Tabs New Tabs
Overview, Web, CLI, SDK Getting Started, Documentation, Use Cases, API Reference

New Tab Structure:

  1. Getting Started - Introduction, Quick Start, First Projects, FAQs, Community, Contributing
  2. Documentation - Merged CLI + Web content with unified sections:
    • Setup & Installation
    • Running OpenHands
    • Integrations
    • Features & Configuration
    • Settings
    • Advanced Configuration
    • Best Practices
    • Cloud Features
    • Reference
    • Help
  3. Use Cases (NEW) - Examples, Tutorials, Prompt Library
  4. API Reference - SDK, Guides, Architecture, Python API, REST API

New Pages Added (19 total)

Best Practices Section (4 pages)

  • openhands/usage/tips/when-to-use-openhands.mdx - When OpenHands is most effective
  • openhands/usage/tips/effective-instructions.mdx - How to write clear instructions
  • openhands/usage/tips/good-vs-bad-instructions.mdx - Examples of effective prompts
  • openhands/usage/integrations/overview.mdx - Central hub for all integrations

Use Cases Section (15 pages)

Overview:

  • use-cases/overview.mdx - Use cases landing page
  • use-cases/best-practices.mdx - Best practices for each use case type

Examples:

  • use-cases/examples/code-migrations.mdx
  • use-cases/examples/test-coverage.mdx
  • use-cases/examples/bug-fixing.mdx
  • use-cases/examples/documentation.mdx
  • use-cases/examples/refactoring.mdx
  • use-cases/examples/api-integration.mdx

Tutorials:

  • use-cases/tutorials/getting-started.mdx
  • use-cases/tutorials/rest-api.mdx
  • use-cases/tutorials/test-coverage.mdx
  • use-cases/tutorials/containerization.mdx
  • use-cases/tutorials/frontend-development.mdx

Prompt Library:

  • use-cases/prompts/testing-refactoring.mdx
  • use-cases/prompts/data-analysis.mdx
  • use-cases/prompts/web-development.mdx

CLI/Web Merge Strategy

For the merged Documentation tab, pages will use consistent callouts:

  • Both platforms: Generic content (no callout needed)
  • CLI-only: <Callout type="note" title="CLI Only">
  • Cloud-only: <Callout type="note" title="Cloud/Web Only">

Preview

After merging, the new navigation should display the restructured tabs. Mintlify will automatically build and deploy the preview.

Related Analysis

This restructure was based on a detailed comparison with Devin.ai's documentation:

  • Devin has: Documentation, Use Cases & Tutorials, API Reference, Release Notes, Enterprise
  • OpenHands now has: Getting Started, Documentation, Use Cases, API Reference

Next Steps (Future PRs)

  1. Add platform availability callouts to existing merged pages
  2. Expand stub pages with more detailed content
  3. Consider adding Release Notes section
  4. Consider Enterprise documentation section

@jpelletier1 can click here to continue refining the PR

This PR restructures the OpenHands documentation navigation to better
align with Devin.ai's documentation structure. Key changes include:

## Navigation Changes

- **Merge CLI and Web tabs** into a single 'Documentation' tab
- **Create new 'Use Cases' tab** with tutorials, examples, and prompt library
- **Rename 'SDK' tab to 'API Reference'** and integrate REST API docs
- **Add 'Best Practices' section** mirroring Devin's Essential Guidelines

## New Pages Added

### Best Practices (4 pages)
- When to Use OpenHands
- Writing Effective Instructions
- Good vs Bad Instructions
- Integrations Overview

### Use Cases Section (15 pages)
- Overview and Best Practices
- Examples: Code Migrations, Test Coverage, Bug Fixing, Documentation,
  Refactoring, API Integration
- Tutorials: Getting Started, REST API, Test Coverage, Containerization,
  Frontend Development
- Prompt Library: Testing & Refactoring, Data Analysis, Web Development

## Structure Comparison

| New Tab | Content |
|---------|---------|
| Getting Started | Intro, Quick Start, First Projects, FAQs, Community |
| Documentation | Merged CLI+Web: Setup, Running, Integrations, Features, Settings |
| Use Cases | Examples, Tutorials, Prompt Library (NEW) |
| API Reference | SDK, Guides, Architecture, Python & REST APIs |

Co-authored-by: openhands <openhands@all-hands.dev>
Changes:
- Rename 'API Reference' tab back to 'SDK' (exact copy of original structure)
- Move 'Best Practices' section from Documentation to Getting Started
- Create new 'OpenHands Cloud' tab with:
  - Cloud getting started pages (openhands-cloud, cloud-ui, cloud-api, cli/cloud)
  - Cloud integrations (GitHub, GitLab, Bitbucket, Slack, Project Management)
  - REST API (openapi/openapi.json)
- Remove Cloud-related content from Documentation tab
- Simplify Integrations in Documentation to just overview and MCP servers

Co-authored-by: openhands <openhands@all-hands.dev>
@jpelletier1 jpelletier1 changed the title feat: Restructure docs navigation to align with Devin.ai feat: DRAFT - Work in Process - Restructure docs navigation Jan 22, 2026
@jpelletier1 jpelletier1 changed the title feat: DRAFT - Work in Process - Restructure docs navigation DRAFT - Work in Process - Restructure docs navigation Jan 22, 2026
The redirect from /sdk to /sdk/index was conflicting with the tab
navigation, causing too many redirects error when clicking on SDK tab.

Co-authored-by: openhands <openhands@all-hands.dev>
Added comprehensive gap analysis to docs-navigation-proposal.md:

## HIGH PRIORITY Gaps (Critical for user success):
- Your First Session - step-by-step guide for first interaction
- SDLC Integration - how OpenHands fits into dev workflows
- Workspace & Session Tools - understanding IDE, Browser, Shell
- Repository Setup Guide - comprehensive repo configuration

## MEDIUM PRIORITY Gaps:
- Limitations & Best Fit Tasks
- Playbooks / Reusable Prompts
- Slash Commands (if applicable)
- Ask Mode / Q&A Mode
- Session Insights / Analytics

## LOWER PRIORITY Gaps:
- Advanced Mode / Batch Sessions
- Deployments
- PR Templates
- Security Practices
- Common Issues

Also documented which pages were already created in this PR.

Co-authored-by: openhands <openhands@all-hands.dev>
Navigation changes:
- Move Use Cases tab to right after Documentation
- Rename GUI Server to Local GUI, position under Terminal (TUI)
- Make Web Interface a sub-page of Terminal (TUI)
- Move OpenHands Cloud page as sub-page of Terminal (TUI)
- Add redirect from gui-server to local-gui

New HIGH priority pages:
- Your First Session: Step-by-step first interaction guide
- SDLC Integration: How OpenHands fits in development lifecycle
- Workspace & Session Tools: Understanding workspace and tools
- Repository Setup Guide: Configuration for test/lint/build commands

New MEDIUM priority pages:
- Limitations & Best Fit Tasks: Capabilities and constraints
- Playbooks & Reusable Prompts: Template prompts for common tasks

Co-authored-by: openhands <openhands@all-hands.dev>
@openhands-ai
Copy link

openhands-ai bot commented Jan 22, 2026

Looks like there are a few issues preventing this PR from being merged!

  • GitHub Actions are failing:
    • Check Broken Links
    • .github/workflows/sync-docs-code-blocks.yml
    • .github/workflows/sync-agent-sdk-openapi.yml

If you'd like me to help, just leave a comment, like

@OpenHands please fix the failing actions on PR #271 at branch `docs-nav-restructure-devin-alignment`

Feel free to include any additional details that might help me get this PR into a better state.

You can manage your notification settings

@jpelletier1
Copy link
Contributor Author

Closing this. Restarting a new plan and series of conversations here: #272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants