diff --git a/docs/api-reference/attachments.mdx b/api-reference/attachments.mdx similarity index 100% rename from docs/api-reference/attachments.mdx rename to api-reference/attachments.mdx diff --git a/docs/api-reference/customer-cards.mdx b/api-reference/customer-cards.mdx similarity index 100% rename from docs/api-reference/customer-cards.mdx rename to api-reference/customer-cards.mdx diff --git a/docs/api-reference/customer-cards/documentation.mdx b/api-reference/customer-cards/documentation.mdx similarity index 100% rename from docs/api-reference/customer-cards/documentation.mdx rename to api-reference/customer-cards/documentation.mdx diff --git a/docs/api-reference/customer-cards/examples.mdx b/api-reference/customer-cards/examples.mdx similarity index 100% rename from docs/api-reference/customer-cards/examples.mdx rename to api-reference/customer-cards/examples.mdx diff --git a/docs/api-reference/customer-cards/playground.mdx b/api-reference/customer-cards/playground.mdx similarity index 100% rename from docs/api-reference/customer-cards/playground.mdx rename to api-reference/customer-cards/playground.mdx diff --git a/docs/api-reference/graphql/api-explorer.mdx b/api-reference/graphql/api-explorer.mdx similarity index 100% rename from docs/api-reference/graphql/api-explorer.mdx rename to api-reference/graphql/api-explorer.mdx diff --git a/docs/api-reference/graphql/authentication.mdx b/api-reference/graphql/authentication.mdx similarity index 100% rename from docs/api-reference/graphql/authentication.mdx rename to api-reference/graphql/authentication.mdx diff --git a/docs/api-reference/graphql/customers.mdx b/api-reference/graphql/customers.mdx similarity index 100% rename from docs/api-reference/graphql/customers.mdx rename to api-reference/graphql/customers.mdx diff --git a/docs/api-reference/graphql/customers/customer-groups.mdx b/api-reference/graphql/customers/customer-groups.mdx similarity index 100% rename from docs/api-reference/graphql/customers/customer-groups.mdx rename to api-reference/graphql/customers/customer-groups.mdx diff --git a/docs/api-reference/graphql/customers/delete.mdx b/api-reference/graphql/customers/delete.mdx similarity index 100% rename from docs/api-reference/graphql/customers/delete.mdx rename to api-reference/graphql/customers/delete.mdx diff --git a/docs/api-reference/graphql/customers/get.mdx b/api-reference/graphql/customers/get.mdx similarity index 100% rename from docs/api-reference/graphql/customers/get.mdx rename to api-reference/graphql/customers/get.mdx diff --git a/docs/api-reference/graphql/customers/upsert.mdx b/api-reference/graphql/customers/upsert.mdx similarity index 100% rename from docs/api-reference/graphql/customers/upsert.mdx rename to api-reference/graphql/customers/upsert.mdx diff --git a/docs/api-reference/graphql/error-codes.mdx b/api-reference/graphql/error-codes.mdx similarity index 100% rename from docs/api-reference/graphql/error-codes.mdx rename to api-reference/graphql/error-codes.mdx diff --git a/docs/api-reference/graphql/error-handling.mdx b/api-reference/graphql/error-handling.mdx similarity index 100% rename from docs/api-reference/graphql/error-handling.mdx rename to api-reference/graphql/error-handling.mdx diff --git a/docs/api-reference/graphql/events.mdx b/api-reference/graphql/events.mdx similarity index 100% rename from docs/api-reference/graphql/events.mdx rename to api-reference/graphql/events.mdx diff --git a/docs/api-reference/graphql/events/create-customer-event.mdx b/api-reference/graphql/events/create-customer-event.mdx similarity index 100% rename from docs/api-reference/graphql/events/create-customer-event.mdx rename to api-reference/graphql/events/create-customer-event.mdx diff --git a/docs/api-reference/graphql/events/create-thread-event.mdx b/api-reference/graphql/events/create-thread-event.mdx similarity index 100% rename from docs/api-reference/graphql/events/create-thread-event.mdx rename to api-reference/graphql/events/create-thread-event.mdx diff --git a/docs/api-reference/graphql/introduction.mdx b/api-reference/graphql/introduction.mdx similarity index 100% rename from docs/api-reference/graphql/introduction.mdx rename to api-reference/graphql/introduction.mdx diff --git a/docs/api-reference/graphql/labels.mdx b/api-reference/graphql/labels.mdx similarity index 100% rename from docs/api-reference/graphql/labels.mdx rename to api-reference/graphql/labels.mdx diff --git a/docs/api-reference/graphql/labels/add.mdx b/api-reference/graphql/labels/add.mdx similarity index 100% rename from docs/api-reference/graphql/labels/add.mdx rename to api-reference/graphql/labels/add.mdx diff --git a/docs/api-reference/graphql/labels/remove.mdx b/api-reference/graphql/labels/remove.mdx similarity index 100% rename from docs/api-reference/graphql/labels/remove.mdx rename to api-reference/graphql/labels/remove.mdx diff --git a/docs/api-reference/graphql/messaging.mdx b/api-reference/graphql/messaging.mdx similarity index 100% rename from docs/api-reference/graphql/messaging.mdx rename to api-reference/graphql/messaging.mdx diff --git a/docs/api-reference/graphql/messaging/reply-email.mdx b/api-reference/graphql/messaging/reply-email.mdx similarity index 100% rename from docs/api-reference/graphql/messaging/reply-email.mdx rename to api-reference/graphql/messaging/reply-email.mdx diff --git a/docs/api-reference/graphql/messaging/reply-to-thread.mdx b/api-reference/graphql/messaging/reply-to-thread.mdx similarity index 100% rename from docs/api-reference/graphql/messaging/reply-to-thread.mdx rename to api-reference/graphql/messaging/reply-to-thread.mdx diff --git a/docs/api-reference/graphql/messaging/send-email.mdx b/api-reference/graphql/messaging/send-email.mdx similarity index 100% rename from docs/api-reference/graphql/messaging/send-email.mdx rename to api-reference/graphql/messaging/send-email.mdx diff --git a/docs/api-reference/graphql/pagination.mdx b/api-reference/graphql/pagination.mdx similarity index 100% rename from docs/api-reference/graphql/pagination.mdx rename to api-reference/graphql/pagination.mdx diff --git a/docs/api-reference/graphql/schema.mdx b/api-reference/graphql/schema.mdx similarity index 100% rename from docs/api-reference/graphql/schema.mdx rename to api-reference/graphql/schema.mdx diff --git a/docs/api-reference/graphql/threads.mdx b/api-reference/graphql/threads.mdx similarity index 100% rename from docs/api-reference/graphql/threads.mdx rename to api-reference/graphql/threads.mdx diff --git a/docs/api-reference/graphql/threads/assignment.mdx b/api-reference/graphql/threads/assignment.mdx similarity index 100% rename from docs/api-reference/graphql/threads/assignment.mdx rename to api-reference/graphql/threads/assignment.mdx diff --git a/docs/api-reference/graphql/threads/create.mdx b/api-reference/graphql/threads/create.mdx similarity index 100% rename from docs/api-reference/graphql/threads/create.mdx rename to api-reference/graphql/threads/create.mdx diff --git a/docs/api-reference/graphql/threads/status-changes.mdx b/api-reference/graphql/threads/status-changes.mdx similarity index 100% rename from docs/api-reference/graphql/threads/status-changes.mdx rename to api-reference/graphql/threads/status-changes.mdx diff --git a/docs/api-reference/graphql/typescript-sdk.mdx b/api-reference/graphql/typescript-sdk.mdx similarity index 100% rename from docs/api-reference/graphql/typescript-sdk.mdx rename to api-reference/graphql/typescript-sdk.mdx diff --git a/docs/api-reference/migrate-to-threads.mdx b/api-reference/migrate-to-threads.mdx similarity index 100% rename from docs/api-reference/migrate-to-threads.mdx rename to api-reference/migrate-to-threads.mdx diff --git a/docs/api-reference/ui-components.mdx b/api-reference/ui-components.mdx similarity index 100% rename from docs/api-reference/ui-components.mdx rename to api-reference/ui-components.mdx diff --git a/docs/api-reference/ui-components/badge.mdx b/api-reference/ui-components/badge.mdx similarity index 100% rename from docs/api-reference/ui-components/badge.mdx rename to api-reference/ui-components/badge.mdx diff --git a/docs/api-reference/ui-components/container.mdx b/api-reference/ui-components/container.mdx similarity index 100% rename from docs/api-reference/ui-components/container.mdx rename to api-reference/ui-components/container.mdx diff --git a/docs/api-reference/ui-components/copy-button.mdx b/api-reference/ui-components/copy-button.mdx similarity index 100% rename from docs/api-reference/ui-components/copy-button.mdx rename to api-reference/ui-components/copy-button.mdx diff --git a/docs/api-reference/ui-components/divider.mdx b/api-reference/ui-components/divider.mdx similarity index 100% rename from docs/api-reference/ui-components/divider.mdx rename to api-reference/ui-components/divider.mdx diff --git a/docs/api-reference/ui-components/link-button.mdx b/api-reference/ui-components/link-button.mdx similarity index 100% rename from docs/api-reference/ui-components/link-button.mdx rename to api-reference/ui-components/link-button.mdx diff --git a/docs/api-reference/ui-components/plain-text.mdx b/api-reference/ui-components/plain-text.mdx similarity index 100% rename from docs/api-reference/ui-components/plain-text.mdx rename to api-reference/ui-components/plain-text.mdx diff --git a/docs/api-reference/ui-components/row.mdx b/api-reference/ui-components/row.mdx similarity index 100% rename from docs/api-reference/ui-components/row.mdx rename to api-reference/ui-components/row.mdx diff --git a/docs/api-reference/ui-components/spacer.mdx b/api-reference/ui-components/spacer.mdx similarity index 100% rename from docs/api-reference/ui-components/spacer.mdx rename to api-reference/ui-components/spacer.mdx diff --git a/docs/api-reference/ui-components/text.mdx b/api-reference/ui-components/text.mdx similarity index 100% rename from docs/api-reference/ui-components/text.mdx rename to api-reference/ui-components/text.mdx diff --git a/docs/api-reference/webhooks.mdx b/api-reference/webhooks.mdx similarity index 100% rename from docs/api-reference/webhooks.mdx rename to api-reference/webhooks.mdx diff --git a/docs/api-reference/webhooks/customer-created.mdx b/api-reference/webhooks/customer-created.mdx similarity index 100% rename from docs/api-reference/webhooks/customer-created.mdx rename to api-reference/webhooks/customer-created.mdx diff --git a/docs/api-reference/webhooks/customer-deleted.mdx b/api-reference/webhooks/customer-deleted.mdx similarity index 100% rename from docs/api-reference/webhooks/customer-deleted.mdx rename to api-reference/webhooks/customer-deleted.mdx diff --git a/docs/api-reference/webhooks/customer-group-membership-changed.mdx b/api-reference/webhooks/customer-group-membership-changed.mdx similarity index 100% rename from docs/api-reference/webhooks/customer-group-membership-changed.mdx rename to api-reference/webhooks/customer-group-membership-changed.mdx diff --git a/docs/api-reference/webhooks/customer-updated.mdx b/api-reference/webhooks/customer-updated.mdx similarity index 100% rename from docs/api-reference/webhooks/customer-updated.mdx rename to api-reference/webhooks/customer-updated.mdx diff --git a/docs/api-reference/webhooks/thread-assignment-transitioned.mdx b/api-reference/webhooks/thread-assignment-transitioned.mdx similarity index 100% rename from docs/api-reference/webhooks/thread-assignment-transitioned.mdx rename to api-reference/webhooks/thread-assignment-transitioned.mdx diff --git a/docs/api-reference/webhooks/thread-chat-sent.mdx b/api-reference/webhooks/thread-chat-sent.mdx similarity index 100% rename from docs/api-reference/webhooks/thread-chat-sent.mdx rename to api-reference/webhooks/thread-chat-sent.mdx diff --git a/docs/api-reference/webhooks/thread-created.mdx b/api-reference/webhooks/thread-created.mdx similarity index 100% rename from docs/api-reference/webhooks/thread-created.mdx rename to api-reference/webhooks/thread-created.mdx diff --git a/docs/api-reference/webhooks/thread-email-received.mdx b/api-reference/webhooks/thread-email-received.mdx similarity index 100% rename from docs/api-reference/webhooks/thread-email-received.mdx rename to api-reference/webhooks/thread-email-received.mdx diff --git a/docs/api-reference/webhooks/thread-email-sent.mdx b/api-reference/webhooks/thread-email-sent.mdx similarity index 100% rename from docs/api-reference/webhooks/thread-email-sent.mdx rename to api-reference/webhooks/thread-email-sent.mdx diff --git a/docs/api-reference/webhooks/thread-labels-changed.mdx b/api-reference/webhooks/thread-labels-changed.mdx similarity index 100% rename from docs/api-reference/webhooks/thread-labels-changed.mdx rename to api-reference/webhooks/thread-labels-changed.mdx diff --git a/docs/api-reference/webhooks/thread-note-created.mdx b/api-reference/webhooks/thread-note-created.mdx similarity index 100% rename from docs/api-reference/webhooks/thread-note-created.mdx rename to api-reference/webhooks/thread-note-created.mdx diff --git a/docs/api-reference/webhooks/thread-priority-changed.mdx b/api-reference/webhooks/thread-priority-changed.mdx similarity index 100% rename from docs/api-reference/webhooks/thread-priority-changed.mdx rename to api-reference/webhooks/thread-priority-changed.mdx diff --git a/docs/api-reference/webhooks/thread-status-transitioned.mdx b/api-reference/webhooks/thread-status-transitioned.mdx similarity index 100% rename from docs/api-reference/webhooks/thread-status-transitioned.mdx rename to api-reference/webhooks/thread-status-transitioned.mdx diff --git a/docs/assignment.mdx b/assignment.mdx similarity index 100% rename from docs/assignment.mdx rename to assignment.mdx diff --git a/docs/contact-forms.mdx b/contact-forms.mdx similarity index 100% rename from docs/contact-forms.mdx rename to contact-forms.mdx diff --git a/docs/customer-cards.mdx b/customer-cards.mdx similarity index 100% rename from docs/customer-cards.mdx rename to customer-cards.mdx diff --git a/docs/customer-groups.mdx b/customer-groups.mdx similarity index 100% rename from docs/customer-groups.mdx rename to customer-groups.mdx diff --git a/docs/data-model.mdx b/data-model.mdx similarity index 100% rename from docs/data-model.mdx rename to data-model.mdx diff --git a/docs/email.mdx b/email.mdx similarity index 100% rename from docs/email.mdx rename to email.mdx diff --git a/docs/email/alternate-emails.mdx b/email/alternate-emails.mdx similarity index 100% rename from docs/email/alternate-emails.mdx rename to email/alternate-emails.mdx diff --git a/docs/email/receiving.mdx b/email/receiving.mdx similarity index 100% rename from docs/email/receiving.mdx rename to email/receiving.mdx diff --git a/docs/email/sending.mdx b/email/sending.mdx similarity index 100% rename from docs/email/sending.mdx rename to email/sending.mdx diff --git a/docs/events.mdx b/events.mdx similarity index 100% rename from docs/events.mdx rename to events.mdx diff --git a/docs/labels.mdx b/labels.mdx similarity index 100% rename from docs/labels.mdx rename to labels.mdx diff --git a/docs/linear.mdx b/linear.mdx similarity index 100% rename from docs/linear.mdx rename to linear.mdx diff --git a/mint.json b/mint.json index b1869d2..b8be119 100644 --- a/mint.json +++ b/mint.json @@ -5,11 +5,11 @@ "isHidden": true }, "logo": { - "light": "/public/logo/light.png", - "dark": "/public/logo/dark.png", + "light": "public/logo/light.png", + "dark": "public/logo/dark.png", "url": "https://plain.com" }, - "favicon": "/public/favicon/favicon.png", + "favicon": "public/favicon/favicon.png", "colors": { "primary": "#1349e8", "light": "#94a3b8", @@ -28,7 +28,7 @@ "tabs": [ { "name": "API Reference", - "url": "docs/api-reference" + "url": "api-reference" } ], "anchors": [ @@ -51,97 +51,92 @@ "navigation": [ { "group": "Plain 101", - "pages": ["docs/quickstart", "docs/data-model", "docs/security"] + "pages": ["quickstart", "data-model", "security"] }, { "group": "Channels", "pages": [ { "group": "Email", - "pages": [ - "docs/email", - "docs/email/receiving", - "docs/email/sending", - "docs/email/alternate-emails" - ] + "pages": ["email", "email/receiving", "email/sending", "email/alternate-emails"] }, - "docs/contact-forms", - "docs/slack" + "contact-forms", + "slack" ] }, { "group": "Add context", - "pages": ["docs/customer-cards", "docs/customer-groups", "docs/events"] + "pages": ["customer-cards", "customer-groups", "events"] }, { "group": "Using Plain", "pages": [ - "docs/notifications", - "docs/assignment", - "docs/priorities", - "docs/labels", - "docs/linear", - "docs/syntax-highlighting", - "docs/reporting", - "docs/snippets", - "docs/shortcuts" + "notifications", + "assignment", + "priorities", + "labels", + "linear", + "syntax-highlighting", + "reporting", + "snippets", + "shortcuts" ] }, { "group": "GraphQL", "pages": [ - "docs/api-reference/graphql/introduction", - "docs/api-reference/graphql/authentication", - "docs/api-reference/graphql/schema", + "api-reference/graphql/introduction", + "api-reference/graphql/authentication", + "api-reference/graphql/schema", { "group": "Customers", "pages": [ - "docs/api-reference/graphql/customers", - "docs/api-reference/graphql/customers/get", - "docs/api-reference/graphql/customers/upsert", - "docs/api-reference/graphql/customers/delete", - "docs/api-reference/graphql/customers/customer-groups" + "api-reference/graphql/customers", + "api-reference/graphql/customers/get", + "api-reference/graphql/customers/upsert", + "api-reference/graphql/customers/delete", + "api-reference/graphql/customers/customer-groups" ] }, { "group": "Events", "pages": [ - "docs/api-reference/graphql/events", - "docs/api-reference/graphql/events/create-customer-event", - "docs/api-reference/graphql/events/create-thread-event" + "api-reference/graphql/events", + "api-reference/graphql/events/create-customer-event", + "api-reference/graphql/events/create-thread-event" ] }, { "group": "Labels", "pages": [ - "docs/api-reference/graphql/labels", - "docs/api-reference/graphql/labels/add", - "docs/api-reference/graphql/labels/remove" + "api-reference/graphql/labels", + "api-reference/graphql/labels/add", + "api-reference/graphql/labels/remove" ] }, { "group": "Messaging", "pages": [ - "docs/api-reference/graphql/messaging", - "docs/api-reference/graphql/messaging/reply-to-thread", - "docs/api-reference/graphql/messaging/send-email", - "docs/api-reference/graphql/messaging/reply-email" + "api-reference/graphql/messaging", + "api-reference/graphql/messaging/reply-to-thread", + "api-reference/graphql/messaging/send-email", + "api-reference/graphql/messaging/reply-email" ] }, { "group": "Threads", "pages": [ - "docs/api-reference/graphql/threads", - "docs/api-reference/graphql/threads/create", - "docs/api-reference/graphql/threads/assignment", - "docs/api-reference/graphql/threads/status-changes" + "api-reference/graphql/threads", + "api-reference/graphql/threads/create", + "api-reference/graphql/threads/assignment", + "api-reference/graphql/threads/status-changes" ] }, - "docs/api-reference/graphql/pagination", - "docs/api-reference/graphql/error-handling", - "docs/api-reference/graphql/error-codes", - "docs/api-reference/graphql/api-explorer", - "docs/api-reference/graphql/typescript-sdk" + "api-reference/graphql/pagination", + "api-reference/graphql/error-handling", + "api-reference/graphql/error-codes", + "api-reference/graphql/api-explorer", + "api-reference/graphql/typescript-sdk" ] }, { @@ -150,52 +145,52 @@ { "group": "Customer Cards", "pages": [ - "docs/api-reference/customer-cards", - "docs/api-reference/customer-cards/documentation", - "docs/api-reference/customer-cards/playground", - "docs/api-reference/customer-cards/examples" + "api-reference/customer-cards", + "api-reference/customer-cards/documentation", + "api-reference/customer-cards/playground", + "api-reference/customer-cards/examples" ] }, { "group": "Webhooks", "pages": [ - "docs/api-reference/webhooks", - "docs/api-reference/webhooks/thread-created", - "docs/api-reference/webhooks/thread-status-transitioned", - "docs/api-reference/webhooks/thread-assignment-transitioned", - "docs/api-reference/webhooks/thread-labels-changed", - "docs/api-reference/webhooks/thread-priority-changed", - "docs/api-reference/webhooks/thread-note-created", - "docs/api-reference/webhooks/thread-email-received", - "docs/api-reference/webhooks/thread-email-sent", - "docs/api-reference/webhooks/thread-chat-sent", - "docs/api-reference/webhooks/customer-created", - "docs/api-reference/webhooks/customer-updated", - "docs/api-reference/webhooks/customer-deleted", - "docs/api-reference/webhooks/customer-group-membership-changed" + "api-reference/webhooks", + "api-reference/webhooks/thread-created", + "api-reference/webhooks/thread-status-transitioned", + "api-reference/webhooks/thread-assignment-transitioned", + "api-reference/webhooks/thread-labels-changed", + "api-reference/webhooks/thread-priority-changed", + "api-reference/webhooks/thread-note-created", + "api-reference/webhooks/thread-email-received", + "api-reference/webhooks/thread-email-sent", + "api-reference/webhooks/thread-chat-sent", + "api-reference/webhooks/customer-created", + "api-reference/webhooks/customer-updated", + "api-reference/webhooks/customer-deleted", + "api-reference/webhooks/customer-group-membership-changed" ] }, { "group": "UI Components", "pages": [ - "docs/api-reference/ui-components", - "docs/api-reference/ui-components/badge", - "docs/api-reference/ui-components/container", - "docs/api-reference/ui-components/copy-button", - "docs/api-reference/ui-components/divider", - "docs/api-reference/ui-components/link-button", - "docs/api-reference/ui-components/plain-text", - "docs/api-reference/ui-components/row", - "docs/api-reference/ui-components/spacer", - "docs/api-reference/ui-components/text" + "api-reference/ui-components", + "api-reference/ui-components/badge", + "api-reference/ui-components/container", + "api-reference/ui-components/copy-button", + "api-reference/ui-components/divider", + "api-reference/ui-components/link-button", + "api-reference/ui-components/plain-text", + "api-reference/ui-components/row", + "api-reference/ui-components/spacer", + "api-reference/ui-components/text" ] }, - "docs/api-reference/attachments" + "api-reference/attachments" ] }, { "group": "Migration", - "pages": ["docs/api-reference/migrate-to-threads"] + "pages": ["api-reference/migrate-to-threads"] } ], "footerSocials": { diff --git a/docs/notifications.mdx b/notifications.mdx similarity index 100% rename from docs/notifications.mdx rename to notifications.mdx diff --git a/docs/priorities.mdx b/priorities.mdx similarity index 100% rename from docs/priorities.mdx rename to priorities.mdx diff --git a/docs/quickstart.mdx b/quickstart.mdx similarity index 100% rename from docs/quickstart.mdx rename to quickstart.mdx diff --git a/docs/reporting.mdx b/reporting.mdx similarity index 100% rename from docs/reporting.mdx rename to reporting.mdx diff --git a/docs/security.mdx b/security.mdx similarity index 100% rename from docs/security.mdx rename to security.mdx diff --git a/docs/shortcuts.mdx b/shortcuts.mdx similarity index 100% rename from docs/shortcuts.mdx rename to shortcuts.mdx diff --git a/docs/slack.mdx b/slack.mdx similarity index 100% rename from docs/slack.mdx rename to slack.mdx diff --git a/docs/snippets.mdx b/snippets.mdx similarity index 100% rename from docs/snippets.mdx rename to snippets.mdx diff --git a/docs/syntax-highlighting.mdx b/syntax-highlighting.mdx similarity index 100% rename from docs/syntax-highlighting.mdx rename to syntax-highlighting.mdx