Guide for contributing to ignitionstack.pro documentation.
Documentation uses Nextra with MDX. You can use React components inside .mdx files.
documentation/
├── content/ # All MDX content
│ ├── _meta.js # Menu sidebar principal
│ ├── index.mdx # Homepage
│ ├── getting-started/ # Guias iniciais
│ ├── setup/ # Service setup
│ ├── supabase/ # Supabase documentation
│ ├── architecture/ # Arquitetura e ADRs
│ ├── components/ # Component documentation
│ ├── analytics/ # Analytics e tracking
│ ├── performance/ # Optimizations
│ ├── features/ # Features premium
│ ├── guides/ # Guides and tutorials
│ ├── deployment/ # Deploy
│ ├── testing/ # Testing
│ └── api/ # API Reference
├── components/ # Custom components
├── theme.config.tsx # Theme configuration
└── public/ # Static assets# Example: new page under guides
touch content/guides/minha-pagina.mdx---
title: My Page
description: SEO description
---
# My Page
Content goes here..._meta.js// content/guides/_meta.js
export default {
index: 'Overview',
'minha-pagina': 'My Page', // Add here
}import { Callout } from 'nextra/components'
<Callout type="info">
Important information.
</Callout>
<Callout type="warning">
Warning!
</Callout>
<Callout type="error">
Critical error.
</Callout>import { Steps } from 'nextra/components'
<Steps>
### First Step
Description...
### Second Step
Description...
</Steps>import { Tabs } from 'nextra/components'
// Dentro do seu arquivo .mdx:
<Tabs items={['npm', 'yarn', 'pnpm']}>
<Tabs.Tab>npm install</Tabs.Tab>
<Tabs.Tab>yarn install</Tabs.Tab>
<Tabs.Tab>pnpm install</Tabs.Tab>
</Tabs>import { Card, Cards } from '@/components/ui/card'
<Cards>
<Card title="Title" href="/link">
Card description.
</Card>
</Cards># for the main title (only one per page)## for top-level sections### for subsections####Use the appropriate syntax highlighting:
```typescript filename="src/example.ts"
const example = 'TypeScript'
```
```bash
npm run build
```
```sql
SELECT * FROM users;
```// Internal links (use absolute paths from the root)
[Setup Guide](/setup/overview)
[Supabase Auth](/supabase/auth)
// External links
[Next.js Docs](https://nextjs.org/docs)| Coluna 1 | Coluna 2 | Coluna 3 |
|----------|----------|----------|
| Valor 1 | Valor 2 | Valor 3 |# Install dependencies
cd documentation
npm install
# Run the development server
npm run dev
# Build to smoke-test
npm run buildOpen http://localhost:3001 to preview.
Before submitting, verify:
_meta.js updated