This guide will help you set up and deploy the Agent Kernel documentation to GitHub Pages.
A comprehensive Docusaurus 3 documentation site.
.github/
└── workflows/
└── deploy-docs.yml # Auto-deploy to GitHub Pages
cd docs
npm installnpm startThis will open http://localhost:3000 in your browser.
npm run buildnpm run serveThe documentation will automatically deploy when you:
- Push to
developbranch - Make changes in the
docs/directory
The workflow is configured in .github/workflows/deploy-docs.yml
After deployment (takes ~2-5 minutes), website will be available at:
https://kernel.yaala.ai/
- Create
docs/docs/your-page.md:
---
sidebar_position: 1
---
# Your Page Title
Your content here...- The page will automatically appear in the sidebar
- Create
docs/blog/YYYY-MM-DD-title.md:
---
slug: /blog/your-post
title: Your Blog Post
authors: [yourname]
tags: [tag1, tag2]
---
# Your Blog Post
Introduction here...
<!-- truncate -->
Full content here...```mermaid
graph LR
A[Start] --> B[Process]
B --> C[End]
## 🔧 Configuration Details
### Mermaid Support
Mermaid diagrams are enabled in `docusaurus.config.js`:
```javascript
markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
Supports Python, Bash, JSON, YAML, and more:
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ['python', 'bash', 'json', 'yaml'],
},If you need help:
- Review this guide
- Check Docusaurus documentation
- Open an issue on GitHub
Happy Documenting! 📖