Last updated: February 2025 · 7 minute read
DocCraft's core capability is transforming source material — API specs, code, or plain-text descriptions — into structured, professional-quality documentation. This guide covers all supported input types, document output types, and advanced generation settings.
Upload a .yaml or .json spec file. DocCraft fully parses endpoint definitions, request/response schemas, authentication methods, and inline descriptions. Supports OpenAPI 2.0 and 3.0.
Export a Postman collection as .json and upload directly. DocCraft reads request structure, example responses saved in the collection, and any folder descriptions you've added in Postman.
Paste a public GitHub URL. DocCraft reads README, source comments, and directory structure. Quality depends heavily on comment coverage in the codebase.
Paste product descriptions, feature briefs, or rough drafts. DocCraft restructures and expands the content. Ideal for generating first-draft user guides or knowledge base articles.
Complete endpoint reference with authentication guide, endpoint table, parameter descriptions, request/response schemas, and code examples. Best with OpenAPI or Postman input. Output follows industry-standard API doc structure (overview → auth → endpoints → error codes).
GitHub-standard README with badges, introduction, installation steps, usage examples, API overview table, configuration reference, and contributing guide. Best with GitHub URL or code file input.
Step-by-step product documentation for end users. Includes getting started, feature walkthroughs, screenshots guidance (placeholder annotations), FAQs, and troubleshooting section. Best with plain text product descriptions.
System administration documentation covering installation, system requirements, configuration options, environment variables, security hardening, backup/recovery procedures, and maintenance schedules.
Formatted release changelog with version entries organized by New Features, Improvements, and Bug Fixes. Input a list of changes or a git commit log and DocCraft reformats into clean, user-readable release notes.
These settings appear in the Advanced Settings panel before you click Generate. Expanding it is recommended for production documentation.
For highest-quality output: combine well-structured source material + context documents (style guides, glossaries) + Custom Instructions specifying audience and tone. This combination consistently produces the best results.
DocCraft generates documents using server-sent events (SSE) streaming so you can watch the draft materialise token-by-token in a Live Draft pane during generation.
Compare your current draft against the original baseline or any saved snapshot. The Version Diff panel displays a line-by-line comparison with color-coded change indicators.
DocCraft ships with built-in MSTP (Microsoft Style Guide) compliance checks. With Custom Compliance Rules, you can layer your own governance policies on top.
Trigger automatic documentation generation when code is pushed to your repository. DocCraft exposes a webhook endpoint that integrates with GitHub Actions, GitLab CI, Jenkins, or any HTTP-capable CI pipeline.
POST /api/webhooks/ci — include your DOCCRAFT_WEBHOOK_SECRET in the x-doccraft-secret header or as a Bearer token.repositoryUrl (required), branch, changedFiles (array), docType, audience, tone, and optional customRules. Native GitHub push payloads are also accepted.publishToGithub: true with a githubToken to auto-commit the result.curl -X POST https://doccraft-ten.vercel.app/api/webhooks/ci -H "x-doccraft-secret: $SECRET" -d '{"repositoryUrl":"...", "docType":"release-notes"}'Select any text in the editor and apply one-click AI actions to transform it:
Rewrite in simpler language
Add more detail and depth
Insert a practical example
Add troubleshooting steps
Remove fluff, keep substance
Generate Mermaid diagrams
Publish your generated document directly to a GitHub repository. From the editor toolbar, click Publish, enter your GitHub repository URL and personal access token, then commit the document. DocCraft creates a clean commit with the generated Markdown.