This file provides comprehensive information for AI agents, contributors, and team members working with the Ona documentation repository.

🎯 Repository Overview

This repository contains the complete documentation for Ona (formerly Gitpod), including:
  • Ona - The new cloud development environment platform
  • Gitpod Classic - Legacy documentation for the original Gitpod platform
  • Examples - AI agent use cases and getting started examples
  • Release Notes - Product updates and changelog

πŸ“ Repository Structure

/docs/
β”œβ”€β”€ ona/                    # Ona platform documentation
β”œβ”€β”€ classic/               # Gitpod Classic documentation  
β”œβ”€β”€ examples/              # Code examples and use cases
β”œβ”€β”€ release-notes/         # Product changelog
β”œβ”€β”€ images/                # πŸ†• Centralized image directory
β”œβ”€β”€ docs.json              # Mintlify configuration
└── README.md

πŸ–ΌοΈ Image Management Guidelines

Standard Assets (< 20MB)

  • Location: /images/ directory
  • Path in MDX: /images/filename.ext
  • Supported formats: PNG, JPG, JPEG, WebP, SVG, GIF, WebM, MP4

Large Assets (β‰₯ 20MB)

  • Repository: gitpod-io/ona.com
  • Directory: public/docs-large-assets/
  • Path in MDX: https://www.ona.com/docs-large-assets/filename.ext

Migration Status

βœ… All existing images moved to /images/ directory
βœ… All MDX references updated automatically
βœ… No broken links or missing assets

πŸ› οΈ Development Workflow

Getting Started

# Clone the new docs repo
git clone https://github.com/gitpod-io/docs.git
cd docs

# Install Mintlify (if not already installed)
npm install -g mintlify

# Start local development server
mintlify dev

Making Changes

  1. Create/edit MDX files in the appropriate directory (ona/, classic/, examples/)
  2. Add images to /images/ directory (or large assets repo if >20MB)
  3. Update docs.json for navigation changes
  4. Test locally with mintlify dev
  5. Commit and push to main branch

File Locations

  • Ona docs: /workspaces/docs/ona/
  • Classic docs: /workspaces/docs/classic/
  • Examples: /workspaces/docs/examples/
  • Images: /workspaces/docs/images/
  • Configuration: /workspaces/docs/docs.json

πŸ“ Documentation Standards

Image References

<!-- βœ… Correct - use /images/ path -->
![Alt text](/images/screenshot.png)
<img src="/images/diagram.svg" alt="Diagram" />

<!-- βœ… Large assets - use full URL -->
![Large video](/images/large-demo.webm) <!-- if < 20MB -->
![Large video](https://www.ona.com/docs-large-assets/large-demo.webm) <!-- if > 20MB -->

File Naming

  • Use kebab-case for files: getting-started.mdx
  • Use descriptive names for images: vscode-integration-screenshot.png
  • Avoid spaces and special characters

πŸ”„ Handling Redirects

Redirects are managed in the Mintlify configuration file:
  • File: /workspaces/docs/docs.json
  • Purpose: Handle URL redirects and navigation
  • Format: JSON configuration with redirect rules
  • Updates: Modify this file when changing page URLs or adding redirects

πŸš€ Deployment

  • Automatic deployment on push to main branch
  • Live site: ona.com/docs
  • Preview: Available via Mintlify’s preview system

❓ Support Information

  • Repository: gitpod-io/docs
  • Issues: Use GitHub issues in the docs repo
  • Mintlify docs: mintlify.com/docs
  • Team contact: #team-website Slack channel