Nextbase Docs
Guides

Creating Docs Page

Guide on how to create a docs page in Nextbase.

Docs are written using fumadocs.

  1. Index page for docs is in a different layout mainly because fumadocs doesn't support index layouts. It only has a docs page which renders a single mdx page at a time.
  2. All the actual docs are generated from content-collections. All the docs are written as mdx files in src/content/docs.
  3. They are then converted into json files by content-collections.
  4. Fumadocs and content collections work together to render the docs page.
page.tsx
layout.tsx
layout.tsx
page.tsx
global.css
getting-started.mdx
package.json

On this page

No Headings