Skip to content
Merged
64 changes: 55 additions & 9 deletions apps/docs/docs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://mintlify.com/docs.json",
"theme": "mint",
"theme": "almond",
"name": "React Email",
"colors": {
"primary": "#06BCEE",
Expand All @@ -12,10 +12,10 @@
},
"favicon": "/favicon.png",
"navigation": {
"anchors": [
"tabs": [
{
"anchor": "Documentation",
"icon": "book-open",
"tab": "Primitives",
"icon": "cubes",
"groups": [
{
"group": "Overview",
Expand Down Expand Up @@ -124,6 +124,57 @@
]
}
]
},
{
"tab": "Editor",
"icon": "flask",
"tag": "Experimental",
"groups": [
{
"group": "Overview",
"pages": ["editor/overview", "editor/getting-started"]
},
{
"group": "Features",
"pages": [
"editor/features/bubble-menu",
"editor/features/slash-commands",
"editor/features/theming",
"editor/features/styling",
"editor/features/buttons",
"editor/features/column-layouts",
"editor/features/link-editing",
"editor/features/email-export"
]
},
{
"group": "Advanced",
"pages": [
"editor/advanced/extensions",
"editor/advanced/event-bus",
"editor/advanced/custom-extensions"
]
},
{
"group": "API Reference",
"pages": [
"editor/api-reference/use-editor",
"editor/api-reference/compose-react-email",
"editor/api-reference/email-node",
"editor/api-reference/email-mark",
"editor/api-reference/extensions-list",
"editor/api-reference/theming-api",
{
"group": "UI Components",
"icon": "window",
"pages": [
"editor/api-reference/ui/bubble-menu",
"editor/api-reference/ui/slash-command"
]
}
]
}
]
}
],
"global": {
Expand All @@ -137,11 +188,6 @@
"anchor": "Templates",
"href": "https://demo.react.email/preview/notifications/vercel-invite-user",
"icon": "arrow-pointer"
},
{
"anchor": "GitHub",
"href": "https://github.com/resend/react-email",
"icon": "github"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/editor/api-reference/use-editor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "useEditor"
sidebarTitle: "useEditor"
description: "Hook for creating and managing an editor instance."
icon: "hook"
icon: "code"
---

## Import
Expand Down
8 changes: 4 additions & 4 deletions apps/docs/snippets/editor-install.mdx
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<CodeGroup>

```sh npm
npm install @react-email/editor @tiptap/react @radix-ui/react-popover
npm install @react-email/editor@experimental @tiptap/react @radix-ui/react-popover
```

```sh yarn
yarn add @react-email/editor @tiptap/react @radix-ui/react-popover
yarn add @react-email/editor@experimental @tiptap/react @radix-ui/react-popover
```

```sh pnpm
pnpm add @react-email/editor @tiptap/react @radix-ui/react-popover
pnpm add @react-email/editor@experimental @tiptap/react @radix-ui/react-popover
```

```sh bun
bun add @react-email/editor @tiptap/react @radix-ui/react-popover
bun add @react-email/editor@experimental @tiptap/react @radix-ui/react-popover
```

</CodeGroup>
Loading