Documentation that stays alive

Auto-generate docs from code. Detect drift on every commit. Never ship stale documentation again.

$ clawhub install docsync click to copy
$ git commit -m "add payment handler"
 
━━━ DocSync: Documentation Drift Detected ━━━
 
processPayment (function in src/payments.ts)
PaymentResult (type in src/payments.ts)
validateCard (docs older than source)
 
Run docsync auto-fix to generate missing docs
 
$ docsync auto-fix
Regenerated docs/api/payments.md (3 symbols)
All documentation is now in sync.

Everything your docs need

🌳

40+ Language Support

Powered by tree-sitter for accurate AST parsing. TypeScript, Python, Rust, Go, Java, and more — all out of the box.

🔍

Drift Detection

Compares code symbols against existing docs on every commit. Finds undocumented functions, stale signatures, and deleted references.

🪝

Git Hook Enforcement

Pre-commit hooks block commits with critical documentation drift. Powered by lefthook for fast, parallel execution.

Auto-Fix

One command regenerates all stale documentation. Templates produce clean, structured markdown with TOC, signatures, and parameter tables.

🏠

100% Local

Your code never leaves your machine. No external API calls, no telemetry, no phone-home. Works in air-gapped environments.

🎓

Onboarding & Architecture

Generate onboarding guides and architecture documentation automatically. Perfect for growing teams.

How it works

1

Install DocSync

One command: clawhub install docsync. Works with any OpenClaw setup.

2

Generate initial docs

Tell your AI assistant to document your codebase. DocSync parses every source file and produces structured markdown.

3

Enable git hooks

DocSync installs a pre-commit hook that checks every commit for documentation drift. Undocumented code gets caught immediately.

4

Docs stay alive forever

Documentation automatically stays in sync with your code. No more "update the docs" tickets that never get done.

Simple, transparent pricing

Start free. Upgrade when your team needs living docs.

Free
$0
  • One-shot doc generation
  • Single file or directory
  • All 40+ languages
  • Markdown output
Install Free
Team
$49/user/mo
  • Everything in Pro
  • Onboarding guide generation
  • Architecture documentation
  • Custom doc templates
  • Priority support
Get Team
Enterprise
$79/user/mo
  • Everything in Team
  • SSO / SAML
  • Audit logs
  • Compliance reports
  • Dedicated support + SLA
Contact Sales

Works with your stack

TypeScript JavaScript Python Rust Go Java C / C++ Ruby PHP C# Swift Kotlin

Frequently asked questions

Does my code get sent anywhere?

No. All processing happens 100% locally on your machine. DocSync uses tree-sitter for code parsing and never makes network calls. Even license validation is offline.

What if tree-sitter isn't installed?

DocSync falls back to regex-based symbol extraction. It's less accurate but still functional. We recommend installing tree-sitter for best results.

Can I skip the hook on a commit?

Yes. Use git commit --no-verify to skip the drift check. But we recommend fixing the drift instead!

How does licensing work?

Purchase a license, receive a key, add it to your OpenClaw config. The key is a signed JWT validated locally — no internet connection required after activation.

Can I use this with Mintlify, Docusaurus, etc.?

DocSync generates standard markdown files. They work with any documentation tool that reads markdown. Use DocSync for generation and drift detection, and your preferred tool for hosting.

Get documentation tips & DocSync updates

No spam. One email per week max. Unsubscribe anytime.

Stop shipping stale docs

Install DocSync in 10 seconds. Start generating living documentation today.

$ clawhub install docsync click to copy