{"slug": "show-hn-docflow-ai-documentation-updates-for-github-pull-requests", "title": "Show HN: DocFlow – AI documentation updates for GitHub pull requests", "summary": "DocFlow, a new GitHub App, automatically generates README, API docs, and changelog drafts after pull request merges using AST parsing and DeepSeek's LLM. The tool is free for public repos and aims to keep documentation in sync with code changes without requiring CI pipeline modifications.", "body_md": "# Documentation That Maintains Itself\n\nDocFlow connects to your GitHub repo. After configured PR merges, it prepares README, API docs, and changelog drafts — so your documentation can stay in sync with developer review.\n\nGitHub-native. No separate DocFlow password required. Works with public repos for free.\n\n## How It Works\n\n### Install the GitHub App\n\nGrant GitHub App access to selected repos. DocFlow reads the repository context needed to generate documentation.\n\n### Merge a PR as usual\n\nNo CI pipeline changes for the standard setup. DocFlow detects configured merge events and analyzes what changed.\n\n`git merge main`\n\n### Review auto-generated docs\n\nDocFlow posts a PR comment with draft README sections, changelog, and API updates. Approve or edit — your call.\n\n### Deep GitHub Integration\n\nWorks where your code already lives, reducing dashboard hopping and context switching.\n\n### Review-ready updates\n\nDocumentation drafts can keep pace with code changes while staying under developer control.\n\n## Features\n\nAI provider disclosure: DocFlow combines deterministic AST parsing with DeepSeek's deepseek-chat model for draft generation. Generated documentation is presented for developer review before use.\n\n### PR-Triggered Auto-Documentation\n\nAfter every PR merge, DocFlow automatically analyzes the diff and generates documentation updates, keeping your docs synced with every ship.\n\n### AST + DeepSeek LLM Hybrid Engine\n\nAST analysis extracts exact function signatures, parameters, types, and class structures. DocFlow's current production AI provider is DeepSeek, using deepseek-chat by default for natural-language documentation drafts.\n\n`struct`\n\nNode {type: AST_TYPE,\n\nbody: string\n\n}\n\n### Incremental Processing\n\nDocFlow is designed to analyze changed files in a PR instead of the entire codebase, reducing unnecessary processing.\n\n### PR Comment Preview\n\nDocFlow posts a PR comment showing exactly what it will change. You review and edit before anything lands on main.\n\n### Automatic Changelog\n\nEvery PR gets a semantic changelog entry generated from commit messages plus deep code analysis.\n\n### Multi-Language Support\n\nPython, JavaScript, and TypeScript at launch. Go, Rust, and Java coming next to cover the full developer stack.\n\n## Install DocFlow in Seconds\n\nDocFlow is a GitHub App. Install it on your repository and documentation drafts are prepared from configured PR activity — no required CI pipeline changes or CLI setup for the standard flow.\n\n### Click the button below\n\nYou'll be taken to the DocFlow GitHub App installation page.\n\n### Choose your repository\n\nSelect individual repos or grant access to all repositories in your organization. Free plans work with public repos immediately.\n\n### Done — review-ready drafts on merge\n\nFrom the next configured PR merge onward, DocFlow analyzes changes and prepares README, API docs, and changelog drafts for review.\n\n[Install the GitHub App](https://github.com/apps/docflow-niao/installations/new)\n\nFree for public repositories. No credit card required.\n\n# Simple, transparent pricing\n\n### Free\n\n- Unlimited public repos + 1 private repo\n- Up to 100 doc-generating PRs/month\n- Changelog + README updates\n\n[Install Free - No Credit Card](/#install)\n\n### Pro\n\n- 10 private repos\n- 500 PRs/month\n- README + changelog + API docs + inline comments\n- Custom README templates\n- Email support (48h)\n\n### Team\n\n- 50 private repos\n- 2,000 PRs/month\n- Everything in Pro plus team dashboard\n- Doc quality scoring\n- Email support (24h)\n\n### Enterprise\n\n- Unlimited repos and PRs\n- SSO/SAML integration\n- Audit logs & Security reports\n- Dedicated support engineer\n\n[Contact Sales](/cdn-cgi/l/email-protection#b3c0d2dfd6c0f3d2dad0dcd7d6d7dcd0c6ded6ddc7d2c7dadcddd4d6ddd6c1d2c7dcc19dd0dcde8cc0c6d1d9d6d0c78ef7dcd0f5dfdcc4968183f6ddc7d6c1c3c1dac0d6)\n\n## Frequently asked questions\n\nPython, JavaScript, and TypeScript at launch. Go, Rust, and Java are planned next. DocFlow uses AST analysis to help documentation follow code changes, but generated output still needs review.\n\nDocFlow is not designed to store full repository source code. It may store repository metadata, configuration, generated documentation, and processing history, and it processes the code context needed to generate docs. Relevant context may be sent to DeepSeek, the current production AI provider.\n\nDocFlow's current production configuration uses DeepSeek as the AI provider, with deepseek-chat as the default model. DocFlow first extracts code structure with AST analysis, then sends the limited context needed for a documentation draft to the configured AI endpoint. If the production provider or model changes, this disclosure will be updated.\n\nYes. DocFlow supports custom README templates, custom changelog formats, and configurable inline comment styles. You define the template once, and DocFlow applies it to every PR.\n\nDocFlow posts its changes as a PR comment first. You review and edit before anything lands on main. You can also configure DocFlow to create a separate branch with its changes, giving you full control.\n\nFree for public repos. Private repos are billed per PR processed. No monthly minimums. If you exceed your plan limits, DocFlow stops processing and notifies you — no surprise charges.\n\nNot yet. DocFlow is currently a managed GitHub App. Self-hosting is on the roadmap for 2025.\n\n## You're shipping code every day. Your team is growing.\n\nBut the docs are often behind… DocFlow turns documentation into a review-ready byproduct of shipping code — not a separate task you need to remember from scratch.\n\nNo credit card for public repos. Minimal setup. Connect your repo and review generated drafts.", "url": "https://wpnews.pro/news/show-hn-docflow-ai-documentation-updates-for-github-pull-requests", "canonical_source": "https://aicodedocumentationgenerator.com/", "published_at": "2026-07-07 13:12:56+00:00", "updated_at": "2026-07-07 13:30:16.567472+00:00", "lang": "en", "topics": ["developer-tools", "large-language-models", "generative-ai"], "entities": ["DocFlow", "GitHub", "DeepSeek"], "alternates": {"html": "https://wpnews.pro/news/show-hn-docflow-ai-documentation-updates-for-github-pull-requests", "markdown": "https://wpnews.pro/news/show-hn-docflow-ai-documentation-updates-for-github-pull-requests.md", "text": "https://wpnews.pro/news/show-hn-docflow-ai-documentation-updates-for-github-pull-requests.txt", "jsonld": "https://wpnews.pro/news/show-hn-docflow-ai-documentation-updates-for-github-pull-requests.jsonld"}}