Content

Write documentation, blog articles, and legal pages in MDX format.

We use MDX and Fumadocs to power all content on the public website.

Folder Structure

Components

Fumadocs provides beautifully designed components you can use in MDX files.

Components are already configured in mdx-components.tsx. See the Fumadocs components documentation for all available components.

SEO

Sitemap and robots.txt files are generated automatically, including documentation pages, blog articles, and legal pages.

Documentation

The content/docs/ folder contains documentation pages.

Access the documentation at http://localhost:3001/docs.

Creating a Documentation Page

Include the following frontmatter:

---
title: Page Title
description: A short description of the page.
---

Add pages to the meta.json file to control navigation order. See the Fumadocs page conventions for details.

Blog

The content/blog/ folder contains blog articles in MDX format.

Access the blog at http://localhost:3001/blog.

Creating a Blog Article

Include the following frontmatter:

---
title: Awesome Blog Title
description: A short description of the blog post.
authorName: Your Name
coverImage: /images/blog/example-image.png
keywords: [nextjs, saas, tutorial]
publishedAt: "2026-02-22"
updatedAt: "2024-02-22"
published: true
---
FieldDescription
titleThe blog post title.
descriptionA short description for SEO.
authorNameAuthor name.
coverImageCover image path.
keywordsSEO keywords array.
publishedAtPublication date.
updatedAtLast update date.
publishedSet to false to hide the post.

The content/legal/ folder contains legal pages: Terms of Service and Privacy Policy.

Access the legal pages at:

  • http://localhost:3001/legal/terms-of-service
  • http://localhost:3001/legal/privacy-policy.

Edit the content directly in the MDX files.