Skip to main content

A omni-documentation generation tool that works with any programming language, I hope

Project description

TheDoc

PyPI version Development Status

🚧 WORK IN PROGRESS 🚧
This project is currently under active development and is not yet feature-complete. Structure may change, features may be added or removed, and documentation may be incomplete. This will be worked on on my free time, so there are no clear timelines for anything.

A powerful documentation generation tool that works with most major programming language. TheDoc automatically generates comprehensive documentation and release notes based on conventional commits and doc comments, with seamless MkDocs integration for beautiful web documentation.

Development Status

TheDoc is currently in the alpha stage. Core functionality works but more features are planned. See the ROADMAP.md for details on planned features and improvements.

Features

  • Language-agnostic code analysis
  • Automatic documentation generation
  • Release notes generation from conventional commits
  • MkDocs integration for web documentation
  • Support for multiple programming languages
  • Customizable documentation templates

Installation

pip install thedoc

Quick Start

  1. Initialize TheDoc in your project:
thedoc init
  1. Generate documentation:
thedoc generate
  1. Generate release notes:
thedoc release-notes
  1. Build MkDocs site:
thedoc build
  1. Serve MkDocs site locally:
thedoc serve

Supported Languages

TheDoc currently supports parsing documentation from:

  • Python (docstrings)
  • Swift (documentation comments)
  • Kotlin (KDoc)
  • .NET (XML documentation comments for C# and VB)

Development

Setup Development Environment

# Clone the repository
git clone https://github.com/karimomino/thedoc.git
cd thedoc

# Create and activate virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: .\venv\Scripts\activate

# Install development dependencies
pip install -e ".[dev]"

Running Tests

pytest

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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

thedoc-0.1.1.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

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

thedoc-0.1.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file thedoc-0.1.1.tar.gz.

File metadata

  • Download URL: thedoc-0.1.1.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for thedoc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 25475921cbd4911ec63bcc7cc4f5d5c4bec73f4e3bbe93c333c108988eb2ba43
MD5 93d46ae2187b028befdfc07ac2b75c73
BLAKE2b-256 6d2032940fd480cb6c279284ba8c510842d78f6670abae4846eb1810b14f2f36

See more details on using hashes here.

File details

Details for the file thedoc-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: thedoc-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for thedoc-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bdb138ee3062a06c60f91d9f4408037f1159ceda152dda3414ab2ef436c75907
MD5 84d6f95cb020227fc89f933a8bc5121d
BLAKE2b-256 5e0ea03071ff237dedefa0705dd090a36db0db339727d8bebe83da30208768f6

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