ishwar-prog/DocSync

Auto-detect documentation drift and generate updated docs when PRs change your code

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenGitHub token for API operations (creating PRs, posting comments) and, when no groq-api-key or anthropic-api-key is provided, for calling GitHub Models to generate documentation — DocSync's zero-config path. Use the automatically provided GITHUB_TOKEN secret. Requires permissions: pull-requests:write, contents:write, models:read. yes${{ github.token }}
groq-api-keyOptional. Groq API key for AI documentation generation. Get a free key at console.groq.com. Takes precedence over GitHub Models if provided — use this if you want higher throughput than GitHub Models' free tier. If neither this nor anthropic-api-key is set, DocSync generates docs with GitHub Models using github-token instead (no signup required). no""
anthropic-api-keyOptional. Anthropic API key for Claude-powered documentation generation. Takes precedence over groq-api-key and GitHub Models if provided. If neither this nor groq-api-key is set, DocSync generates docs with GitHub Models using github-token instead (no signup required). no""
drift-thresholdDrift score (0-100) above which DocSync opens a companion PR. Higher = stricter. Recommended: 70-80 for most projects. no75
config-pathPath to docsync.yaml config file relative to repo root. Defaults to docsync.yaml in the repository root. nodocsync.yaml
open-companion-prWhether to automatically open a companion PR with updated documentation. Set to 'false' to only report drift without opening PRs (useful for repos that prefer manual documentation updates). notrue
post-commentWhether to post a drift report comment on the triggering PR. Disable if you prefer silent operation. notrue
namedescription
drift-scoreThe repository drift score (0-100). 0 = docs in sync, 100 = maximum drift.
drift-detectedtrue if drift was detected above the threshold, false otherwise.
companion-pr-numberThe PR number of the companion documentation PR, if one was created.
companion-pr-urlThe URL of the companion documentation PR, if one was created.
files-analyzedNumber of JS/TS files analyzed in this run.
constructs-foundTotal number of functions, classes, and routes found.