Docgen auto-generates markdown documentation for your entire project. Write a Docfile. Run one command. Done.
No YAML hell. No build plugins. Just a Docfile and a CLI command.
Tell Docgen which files to track. Directories, individual files, or glob patterns.
Docgen analyzes your code, resolves dependencies, and generates markdown docs with AI.
Clean markdown files alongside your code. Commit them, host them, share them.
Track entire directories or specific files. Set style rules. Docgen handles the rest.
Not a toy demo. Docgen handles production codebases with thousands of files.
Content hashing means only changed files get re-documented. Saves API credits and time.
Automatically analyzes #include and import graphs so AI has full context for each file.
Ollama for local, OpenAI for cloud, or any compatible API. Your keys, your models.
Single static binary. No Node, no Python, no runtime. Just download and run.
docgen validate exits non-zero if docs are stale. Perfect for pre-commit hooks.
docgen summary generates a high-level SUMMARY.md and dependency graphs.
A hosted platform for publishing, sharing, and discovering documentation repos. Like GitHub, but for docs.