Writing
Get started with creating rich documentation in APIToGo using Markdown and MDX. This guide covers the essentials to help you begin documenting your project.
Quick Start
- Create a markdown file in
apitogo/portal/pages/ - Add frontmatter with title and metadata
- Write content using Markdown or MDX
The page shows in the sidebar on its own.
Basic Document Structure
Code
Adding to Navigation
The sidebar is built from the files: every page in apitogo/portal/pages/ (or the folders
portal.docs.content names) is listed, and each folder becomes a section. A folder's index page
comes first, then pages with an order, lowest first, then the rest by name:
Code
A page with draft: true is left out of deployed portals.
File Organization
Organize your documentation files in logical directories:
Code
What's Next?
Explore the detailed guides to enhance your documentation:
- Markdown Overview - Complete markdown syntax reference
- Frontmatter - Document metadata and configuration
- MDX - Interactive components in markdown
- Admonitions - Callouts and alerts
- Code Blocks - Syntax highlighting and features
Last modified on