---
title: "Organize"
description: "Structure and organize your documentation content."
canonical_url: "https://farming-labs-docs-docs-cloud-auuecsxay-farming-labs.vercel.app/docs/organize"
markdown_url: "https://farming-labs-docs-docs-cloud-auuecsxay-farming-labs.vercel.app/docs/organize.md"
last_updated: "2018-10-20"
---

# Organize
URL: /docs/organize
LLM index: /llms.txt
Description: Structure and organize your documentation content.

# Organize

Learn how to structure your documentation for the best reader experience.

## File-Based Routing

Our framework uses file-based routing. Each `page.mdx` file in the `app/docs/`
directory becomes a documentation page.

## Directory Structure

Organize pages into folders to create logical groupings:

```
app/docs/
├── page.mdx                    # /docs
├── getting-started/
│   ├── page.mdx                # /docs/getting-started
│   └── quickstart/
│       └── page.mdx            # /docs/getting-started/quickstart
└── customize/
    ├── page.mdx                # /docs/customize
    └── themes/
        └── page.mdx            # /docs/customize/themes
```

## Sidebar Generation

The sidebar is automatically generated from your file structure. Folders
with child pages become expandable sections.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
Docs-scoped sitemap: [/docs/sitemap.md](/docs/sitemap.md).
Well-known sitemap: [/.well-known/sitemap.md](/.well-known/sitemap.md).
