Skip to main content

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

  1. Get your API key from our website
  2. Login with your API key:
docgen auth login --key YOUR_API_KEY
  1. Generate documentation for a file or directory:
docgen generate -f path/to/file.py
# or
docgen generate --current-dir
  1. Update documentation for changed files:
docgen update

Usage

Basic Commands

  • docgen generate: Generate documentation for files or directories
  • docgen update: Update docs for changed files (Git-aware)
  • docgen analyze: Analyze code structure and complexity
  • docgen auth: Manage API authentication
  • docgen config: Configure settings
  • docgen 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

docgen-cli-1.0.9.tar.gz (91.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docgen_cli-1.0.9-cp39-cp39-macosx_10_9_universal2.whl (168.1 kB view details)

Uploaded CPython 3.9macOS 10.9+ universal2 (ARM64, x86-64)

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

Hashes for docgen-cli-1.0.9.tar.gz
Algorithm Hash digest
SHA256 be5498fd2294a8665112b055ad48c4afa2cf091d62fe3db72e2fe37c7cca3bff
MD5 c5e064429d5d5234a9a9222bd64be915
BLAKE2b-256 49bcf38354c4e35691a4ddd67020da8355639eee4ae328e2597d0d7b8ca10801

See more details on using hashes here.

File details

Details for the file docgen_cli-1.0.9-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for docgen_cli-1.0.9-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0d2f007b78ee5dc01b4b55ed6506326aa8144b933b934d1edcab0a85580ee5e5
MD5 78c344852b984cbb42213560cdec8563
BLAKE2b-256 6316e38fedbab648a1b295664e1746d3bbf78f79faef4a1effa13928afbae4c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page