# Welcome to Suno Wiki

This internal wiki is built with [Nextra](https://nextra.site/), a Next.js-based documentation framework.

## Quick Start: Adding Content

### Add a New Page

1. Create an MDX file anywhere under `src/content/`:

   ```bash
   # Example
   touch src/content/frontend/my-guide.mdx
   ```

2. Write your content:

   ```mdx
   # My Guide

   Your content here...
   ```

3. Done! The page automatically appears in the sidebar.

### Add a New Section (Directory)

1. Create a directory and add files:

   ```bash
   mkdir src/content/new-section
   touch src/content/new-section/first-page.mdx
   ```

2. Done! Pages appear automatically.

### Reorder Pages (Optional)

Only needed if you want custom ordering. Otherwise, pages appear alphabetically.

Create or edit `_meta.ts` in the directory:

```typescript
// src/content/frontend/_meta.ts
import type { MetaRecord } from 'nextra';

const meta: MetaRecord = {
  'first-page': { title: 'First Page' },
  'second-page': { title: 'Second Page' },
};

export default meta;
```

### Deploy

```bash
pnpm dev    # Local development
pnpm build  # Production build
```

Changes auto-reload in dev mode!
