Your repo · Your Cloudflare · Our reading experience

Docs that read like a page,
not a stack of blocks.

docs.dev deploys a documentation site into your GitHub and your Cloudflare in one click — then gives your whole team an editor that works right on the page.

This paragraph is live — select it. Every line here is laid out by pretext, a text-measurement engine that computes line breaks with pure arithmetic instead of asking the browser to reflow. Because the engine knows exactly how wide each line can be, it can narrow a line to slip past an obstacle and widen it again once the obstacle ends. The orb to the right is a layout obstacle, not a floated image hack — the text genuinely flows around its bounding box, line by line, the way a magazine sets type around a photograph. None of this touches getBoundingClientRect or paints text to a canvas. The words you are reading are ordinary, selectable, screen-reader-friendly DOM text; pretext only decided where each line should sit.

Documentation is not just prose — it is prose interleaved with examples, diagrams, and asides, and in a conventional renderer each of those interrupts the reading flow. With a measurement-driven layout, the code sample sits in the margin while the explanation keeps flowing beside it, so your eye never leaves the paragraph to find the example it describes. The block on the left is exactly that: a real, syntax-highlighted sample pinned to the column edge with the text wrapping cleanly around it. Same Markdown you already write — rendered as a page someone actually wants to read.

Built on parts you'd pick yourself.

No proprietary renderer, no mystery hosting. docs.dev assembles three things you can read the source of — and you keep all of them if you ever leave.

Documentation served from a global edge network

Centered on Cloudflare,
running as you.

Every docs.dev site is a Worker in yourCloudflare account — served from Cloudflare's edge next to your readers, rebuilt on every push to your repo, billed on your plan (the free tier goes a long way). Add a custom domain in the dashboard and the site asks to bind it; one approval and it's live. Workers AI drafts prose and generates images on the same account. There is no docs.dev server between your readers and your pages.

Everything yours. Nothing to migrate off of.

Your docs, live in two minutes.

One click clones the template into your GitHub, deploys to your Cloudflare, and wires up CI. This entire site is the template.