Documentation
Table of Contents
Installation
Clone the repository from GitHub and install dependencies:
Quick Start
After installation, set up your environment variables and generate documentation for any GitHub repository:
CLI Commands
The tool provides several CLI commands for different operations:
Generate Documentation
Generate documentation for any GitHub repository
Setup Environment
Interactive setup for environment variables
Build CLI Tool
Build the standalone CLI executable
Configuration
Configure the tool using environment variables in your .env file:
.env
Environment Variables:
OPENAI_API_KEY- Your OpenAI API keyGEMINI_API_KEY- Your Google Gemini API keyPREFERRED_AI- Preferred AI provider (openai or gemini)GITHUB_TOKEN- GitHub personal access token for private repositories
API Reference
The tool provides a programmatic API for integration with other applications. Refer to the source code for detailed API documentation.
Troubleshooting
Common issues and their solutions:
- API key not found: Ensure your environment variables are properly configured
- Permission denied: Check your GitHub token permissions
- No source files found: Verify the repository contains supported file types