This repository contains the documentation for Astrio, built with Mintlify.
- Node.js 18 or higher
- npm or yarn
-
Install Mintlify CLI
npm install -g mintlify
-
Clone and navigate to the repository
git clone <your-repo-url> cd docs
-
Start the development server
mintlify dev
-
Open your browser Navigate to
http://localhost:3000to see your documentation.
docs/
├── .github/workflows/ # GitHub Actions for deployment
├── api-reference/ # API documentation
├── essentials/ # Core documentation pages
├── images/ # Images and assets
├── introduction.mdx # Welcome page
├── quickstart.mdx # Getting started guide
├── development.mdx # Development guide
├── mint.json # Mintlify configuration
└── README.md # This file
- Create a new
.mdxfile in the appropriate directory - Add frontmatter with title and description:
--- title: 'Page Title' description: 'Page description' ---
- Add the page to
mint.jsonnavigation
Mintlify provides several built-in components:
<Card>and<CardGroup>- For feature highlights<Steps>and<Step>- For step-by-step guides<Accordion>and<AccordionGroup>- For collapsible content<Note>,<Tip>,<Warning>,<Info>- For callouts<CodeGroup>- For multiple code examples
Use fenced code blocks with language specification:
```javascript
const example = "Hello World";
```Update the following in mint.json:
name- Documentation site namelogo- Path to your logo filesfavicon- Path to faviconcolors- Brand colors
Modify the navigation array in mint.json to organize your content:
{
"navigation": [
{
"group": "Get Started",
"pages": ["introduction", "quickstart"]
}
]
}This repository is configured to automatically deploy to GitHub Pages when changes are pushed to the main branch.
- Go to your repository settings
- Navigate to "Pages" in the sidebar
- Set source to "GitHub Actions"
- Push to the
mainbranch to trigger deployment
You can also deploy manually:
# Build the documentation
mintlify build
# Deploy to your hosting provider
# (upload the contents of the _site directory)- Vercel: Connect your GitHub repository
- Netlify: Connect your GitHub repository
- Mintlify Cloud: Use
mintlify deploy
If you need to customize the build process, you can use these environment variables:
MINTLIFY_SITE_URL- Your site's base URLMINTLIFY_ANALYTICS_ID- Google Analytics ID
For advanced configuration options, refer to the Mintlify documentation.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This documentation is licensed under the MIT License.
If you need help with the documentation:
- Check the Mintlify documentation
- Open an issue in this repository
- Contact the team at support@astrio.dev