Comprehensive documentation hub for the IQToolkit open-source ecosystem.
- Automated Documentation Sync - Pulls documentation from individual tool repositories
- VitePress-Powered - Fast, modern documentation site with excellent performance
- GitHub Pages Deployment - Automatically deploys to
docs.iqtoolkit.ai - Multi-Repository Support - Aggregates docs from multiple tool repositories
- Search & Navigation - Built-in search and intuitive navigation
- Node.js 18+
- npm (recommended over yarn)
- Git
-
Clone the repository
git clone https://github.com/iqtoolkit/docs.iqtoolkit.ai.git cd docs.iqtoolkit.ai -
Install dependencies
npm install
-
Sync documentation from tool repositories
npm run sync-docs
-
Start development server
npm run dev
-
Visit http://localhost:5173
npm run buildThe built site will be in docs/.vitepress/dist/
We've included a comprehensive Makefile to make testing easy:
# Complete setup and test
make setup
make test
# Start development server
make devmake help # Show all available commands
make setup # Complete setup: install deps and sync docs
make install # Install npm dependencies
make sync # Sync documentation from tool repositories
make dev # Start development server
make build # Build for production
make test # Run all tests
make clean # Clean all generated files
make deploy # Deploy to GitHub Pages
make status # Show project status-
Test Dependencies
make check-deps
-
Test Documentation Sync
make test-sync # This will clone tool repos and verify docs are copied correctly -
Test Build Process
make test-build # Ensures VitePress can build the site successfully -
Test Development Server
make dev # Visit http://localhost:5173 and test navigation
- ✅ All navigation links work
- ✅ Synced tool documentation appears
- ✅ Search functionality works
- ✅ No broken images or links
- ✅ Mobile responsiveness
- ✅ Build process completes without errors
The project includes GitHub Actions that automatically:
- Sync documentation from tool repositories
- Build the VitePress site
- Deploy to GitHub Pages
- Run daily to keep docs updated
To add documentation for a new tool:
- Ensure your tool repository has a
/docsfolder with markdown files - Edit
scripts/sync-docs.shand add your repository to theREPOSarray:REPOS=( "iqtoolkit/slow-query-analyzer:docs:slow-query-analyzer" "iqtoolkit/your-tool:docs:your-tool" # Add this line )
- Update the sidebar in
docs/.vitepress/config.jsto include your tool - Test locally with
make test-sync - Submit a pull request
The documentation will automatically sync and be deployed.
docs.iqtoolkit.ai/
├── docs/ # VitePress documentation
│ ├── .vitepress/
│ │ └── config.js # VitePress configuration
│ ├── guide/ # Getting started guides
│ ├── api/ # API documentation
│ ├── tools/ # Tool-specific docs (synced)
│ │ └── slow-query-analyzer/ # Auto-synced from tool repo
│ └── examples/ # Usage examples
├── scripts/
│ └── sync-docs.sh # Documentation sync script
├── .github/workflows/
│ ├── deploy.yml # Deployment workflow
│ └── sync-docs.yml # Manual sync workflow
└── package.json # Dependencies and scripts
- GitHub Actions runs (on push, schedule, or manual trigger)
- Script clones each tool repository listed in
REPOS - Copies documentation from each repo's
/docsfolder to/tools/{tool-name}/ - Builds VitePress site with all documentation included
- Deploys to GitHub Pages at
docs.iqtoolkit.ai
Documentation is automatically deployed via GitHub Actions:
- Triggers: Push to main, daily at 2 AM UTC, or manual dispatch
- Destination: GitHub Pages at
docs.iqtoolkit.ai - Process: Sync docs → Build VitePress → Deploy
- 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 project is licensed under the MIT License - see the LICENSE file for details.
- Documentation Site: docs.iqtoolkit.ai
- Main Organization: github.com/iqtoolkit
- Issues: GitHub Issues