Frontmatter
Each document should have a frontmatter section, denoted by the characters---, for example:
title, sidebarTitle, and description
Content
Markdown content should use h2 headers (##) for top-level sections, h3 headers (###) for sub-sections, and h4 headers (####) for sub-sub-sections.
If you’re looking for resources on how to write better documentation, we recommend:
- The Google Developer Documentation Style Guide
- The Apple Style Guide
- The Red Hat Guide
- Docs for Developers
Sidebar
To add your new documentation to the sidenav, you’ll need to editmint.json in docs/. The nested json serves to organize high-level pages. You’ll need to find the “Group” your page corresponds to, then add the page as a new item in that group’s pages array, as follows:
docs/ directory and should not contain an extension.
Images
Images should be inserted using an<img> tag with a <Frame> component. This is Mintlify functionality that helps keep our images consistent & pretty. Each image should have an alt property and a src.