Skip to content

A programming language agnostic documentation generation tool.

Notifications You must be signed in to change notification settings

James4Ever0/doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

doc

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

Installation

pip3 install doc3

Usage

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

How it works

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.

.docignore

Just like .gitignore but better. Control files to document at granual level.

Syntax

Browsing Doc

Hosting Doc

Roadmap

[x] - English language support

About

A programming language agnostic documentation generation tool.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages