AI-Powered Documentation Generator for Developers
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
DocGen CLI
An AI-powered documentation generator that automatically creates comprehensive documentation for any programming language.
Features
- 🤖 AI-powered documentation generation
- 🌐 Language-agnostic code analysis
- 📝 Markdown and docstring generation
- 🔄 Git integration for tracking code changes
- ⚡ Asynchronous batch processing
- 💾 Smart caching system
- 🔑 API key management
- 📊 Usage tracking
Installation
bash pip install docgen-cli
Quick Start
- Get your API key from our website
- Login with your API key:
docgen auth login --key YOUR_API_KEY
- Generate documentation for a file or directory:
docgen generate -f path/to/file.py
# or
docgen generate --current-dir
- Update documentation for changed files:
docgen update
Usage
Basic Commands
docgen generate: Generate documentation for files or directoriesdocgen update: Update docs for changed files (Git-aware)docgen analyze: Analyze code structure and complexitydocgen auth: Manage API authenticationdocgen config: Configure settingsdocgen clean: Remove generated documentation
Examples
# Generate docs for current directory
docgen generate --current-dir
# Generate docs for a specific file
docgen g -f src/main.py
# Update documentation for changed files
docgen update
# Configure output format
docgen config output_format html
Configuration
Create a .docgen.json file in your project root:
{
"output_format": "markdown",
"output_dir": "docs",
"exclude_patterns": ["**/test/*", "**/*.test.*"],
"language_settings": {
"python": {
"docstring_style": "google"
}
}
}
Supported Languages
- Python
- JavaScript/TypeScript
- Java
- And more...
Contributing
Contributions are welcome! Please read our Contributing Guidelines for details.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docgen-cli-1.0.9.tar.gz.
File metadata
- Download URL: docgen-cli-1.0.9.tar.gz
- Upload date:
- Size: 91.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be5498fd2294a8665112b055ad48c4afa2cf091d62fe3db72e2fe37c7cca3bff
|
|
| MD5 |
c5e064429d5d5234a9a9222bd64be915
|
|
| BLAKE2b-256 |
49bcf38354c4e35691a4ddd67020da8355639eee4ae328e2597d0d7b8ca10801
|
File details
Details for the file docgen_cli-1.0.9-cp39-cp39-macosx_10_9_universal2.whl.
File metadata
- Download URL: docgen_cli-1.0.9-cp39-cp39-macosx_10_9_universal2.whl
- Upload date:
- Size: 168.1 kB
- Tags: CPython 3.9, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d2f007b78ee5dc01b4b55ed6506326aa8144b933b934d1edcab0a85580ee5e5
|
|
| MD5 |
78c344852b984cbb42213560cdec8563
|
|
| BLAKE2b-256 |
6316e38fedbab648a1b295664e1746d3bbf78f79faef4a1effa13928afbae4c6
|