Next.js Starter Kit
User Documentation

User Documentation

Introduction

This starter kit uses Nextra (opens in a new tab) for user documentation. Write user docs and help guides to assist your users with using your software or product.

Create a documentation page

To create a documentation page, create a .mdx file in the pages/docs directory. For example, to create a page titled "My Page", create a file in the pages/docs directory named my-page.mdx containing the following code.

pages/docs/my-page.mdx
# My Page - Welcome
 
Welcome to my page!

Then go to the _meta.json file in the same directory and add the following code:

pages/docs/_meta.json
{
  ...,
  "my-page": "My Page"
}

This will add your page to the navigation sidebar.

My Page Docs

Tips