Documentation
Most of the products have a documentation page to help users understand the product better. ZexaNext provides a simple way to create and manage your documentation using .mdx files.
To create a new blog post, follow these steps: `
- Create a new .mdx file in the
content/docs
directory. - Include the following metadata at the top of the file:
After the metadata section, you can write your documentation content using markdown syntax.
In this example, the docs will be available at http://localhost:3000/docs/file-name
.
All the documentation files are organised in docs sidebar. You can navigate to the documentation pages using the sidebar. The content list of the sidebar is defined in config/docs.ts
file.
The http://localhost:3000/docs
page is redirected to the first documentation page introduction.mdx
by default. You can change this behavior by modifying app/middleware.ts
.