Write docs with AI
Describe your product and get a first draft of its documentation — an outline you edit, then pages written into a change request for you to review.
Starting from a blank space? Describe your product, and Docsheaf AI proposes an outline of pages, then writes them as a draft for you to review. Nothing is published until someone publishes the change request.
Start#
In a space, choose Write with AI in the bar at the top, next to Edit (an empty space also offers it on the page). You need to be an editor of the space. It isn't offered in a changelog, whose entries are written by hand.
Describe your product: its name, what it does and for whom, the kind of documentation (product docs, help center, developer docs or internal docs), readers, tone, language and about how many pages you want (up to 10).
Add sources (optional, and the best way to get accurate pages): paste notes, a README, release notes or an API description, and choose whether to use the space's published pages too.
Propose an outline. It's free; you can ask for 10 outlines a day.
What you enter is sent to Anthropic, our AI provider, to plan and write the pages. Don't paste passwords, keys or personal data: anything that looks like a secret is removed first, but check before you paste.
Review the outline#
Rename, reorder or remove pages, add one, and choose how long each page should be. Statements the AI couldn't confirm from what you gave it are listed under the page as To confirm.
The outline shows the most the pages can cost before anything is written. Choose Write pages to start.
While pages are written#
Pages are written one at a time into a new change request, which already holds every page of the outline. You can leave the page: writing goes on, and you get a notification when it's done.
Edit a page before the AI reaches it, and your text is kept — the AI skips that page.
Stop after this page stops the generation; pages already written stay in the draft.
A page the AI couldn't write keeps a note saying so. Retry writes those pages again (up to three times).
Review and publish#
Open the draft and review every page like any change request. Where the AI didn't have a fact, it writes a warning that starts with Needs verification instead of guessing: confirm it or remove it. Then publish the change request, or submit it for review.
The AI writes only from your description and sources. It doesn't invent API endpoints, settings, prices or limits — but it can misread what you gave it, so check what matters.
Credits#
Pages are paid with AI credits, on any plan:
Page length | About | Credits |
|---|---|---|
Short | 500 words | 5 |
Standard | 1,000 words | 10 |
Long | 1,800 words | 15 |
Categories (pages that only group others) and outlines are free.
The credits are held when writing starts; a page that can't be written or is skipped costs nothing, and anything not used is given back when the generation ends.
Where a premium model is offered, it's better for complex, technical pages and costs twice as much.
A person's first organization gets welcome credits when it's created, once.
Was this helpful?
Last updated
View as Markdown