README - mayukhg/AIAgentTravelPlanner GitHub Wiki
This docs/
folder contains the complete source documentation for the Multi-Agent Assistant System, designed to be used as a GitHub wiki.
The documentation is organized into comprehensive sections covering all aspects of the system:
- Home - Main wiki homepage with overview and navigation
- Installation - Complete setup and installation guide
- User Guide - How to use the assistant effectively
- API Reference - Complete REST API documentation
- System Architecture - High-level system design and patterns
- Agent Framework - Multi-agent system detailed documentation
- Database Schema - Complete database structure and relationships
- Configuration - Environment setup and configuration options
- Development Guide - For contributors and developers
- Security Guidelines - Comprehensive security best practices
- Troubleshooting - Common issues and solutions
-
Enable Wiki in your GitHub repository:
- Go to repository Settings → Features → Wiki → Enable
-
Create Wiki Pages:
- Navigate to the Wiki tab in your repository
- Click "Create the first page"
- Copy content from each
.md
file in this folder - Create pages with the same names (remove
.md
extension)
-
Set Home Page:
- Copy content from
Home.md
to the default Home page - This becomes your wiki's main navigation
- Copy content from
Use GitHub Actions to automatically sync this docs folder to your wiki:
# .github/workflows/sync-wiki.yml
name: Sync Wiki
on:
push:
paths:
- 'docs/**'
branches:
- main
jobs:
sync-wiki:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Sync to Wiki
uses: newrelic/wiki-sync-action@main
with:
source: docs/
destination: wiki/
token: ${{ secrets.GITHUB_TOKEN }}
- Clone Wiki Repository:
git clone https://github.com/username/repository.wiki.git
cd repository.wiki
- Copy Documentation:
cp ../repository/docs/*.md .
git add .
git commit -m "Initial wiki documentation"
git push origin master
The wiki uses internal linking for easy navigation:
- [Installation Guide](Installation)
- [User Guide](User-Guide)
- [API Reference](API-Reference)
Links automatically resolve to wiki pages (GitHub removes .md
extensions).
- Main topics as separate pages
- Sub-topics as sections within pages
- Cross-references between related topics
- Consistent heading structure (H1 for page title, H2-H4 for sections)
- Code blocks with language specification
- Tables for structured information
- Diagrams using ASCII art or mermaid syntax
-
Edit Documentation: Modify files in the
docs/
folder - Test Locally: Preview changes using any Markdown viewer
- Commit Changes: Push to main repository
- Sync to Wiki: Manual copy or automated sync
GitHub wiki includes built-in search that indexes:
- Page titles and content
- Code blocks and comments
- Headers and links
- Full Git history for all wiki changes
- Ability to view diffs and revert changes
- Branch protection for wiki repository
- Same permissions as main repository
- Can be configured separately if needed
- Supports private wikis for private repositories
- GitHub wiki uses GitHub Flavored Markdown
- Supports syntax highlighting for 100+ languages
- Custom CSS through organization settings (if available)
Create page templates for consistency:
# Page Title
Brief description of the page content.
## Overview
[High-level summary]
## Detailed Information
[Main content sections]
## Examples
[Code examples and usage]
## Related Pages
- [Development Guide](Development-Guide)
- Collapsible sections using
<details>
tags - Tables with sorting capabilities
- Embedded diagrams with mermaid syntax
- Keep documentation in sync with code changes
- Update version numbers and dates
- Refresh screenshots and examples
- Review links for accuracy
- Test code examples
- Verify installation instructions
- Enable wiki editing for contributors
- Set up review process for major changes
- Maintain style guide for consistency
- Store documentation alongside source code
- Include documentation updates in pull requests
- Use documentation reviews as part of code review process
# Check for broken links
- name: Check markdown links
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
- Link wiki pages to specific releases
- Maintain changelog in wiki format
- Cross-reference features with documentation
This documentation structure provides comprehensive coverage of the Multi-Agent Assistant System while being easily maintainable and navigable as a GitHub wiki.