Doc is a programming language agnostic documentation generation tool.
Highlights
- Fault tolerant
- Programming language agnostic
- Multi-language documentation support
- Customizable file exclusion pattern
- Generation progress visualization
- Processing time estimation
- Caching docs by hashing
- Easy installation and usage
- Intuitive and informative UI
- Using OpenAI-compatible API
pip3 install doc3
doc --help
doc --list-langs
doc generate
doc generate --langs en,de,zh,fr,jp
doc estimate
doc estimate --langs en,de,zh,fr,jp
doc serve
doc serve --port 8002 --host 0.0.0.0
doc serve --browse
Doc chops your code into segments and query documentation from LLM. After that, it groups docs two by two and reduce them recursively, till it gets the summary.
Doc creates a beautiful static website for your codebase, which you can deploy to Github pages for free.
Just like .gitignore
but better. Control files to document at granual level.
[x] - English language support