# Publish a docs site

Put your docs online, and choose who can read them.

Choose **Publish** in the site's header. The site goes live at `https://<slug>.docsheaf.io` (and on
your [custom domain](custom-domain) once it's set up). **Unpublish** takes it offline again; it
then answers "not found" to readers, while members can still preview it.

Publishing the site and publishing a change are different things: the site's switch decides whether
readers can reach it at all, and [publishing a change request](change-requests)
decides what they read.

## Audience

Choose who can read the site in **Settings → Audience**.

| Audience | Who can read | Search engines | Plan |
| --- | --- | --- | --- |
| **Public** | Everyone | Indexed once you turn indexing on (new docs sites start with it off) | Any |
| **Share link** | People with the site's secret link | Never | Pro |
| **Members only** | Signed-in members of your organization who can open the site | Never | Any |

### Share links

An unlisted site has one secret link. Every page of the site, its search results and its Markdown
files carry the link's token, so readers can move around freely; a URL without it shows "Share link
required". Regenerate the link to cut off everyone who had the old one.

### Members only

Readers sign in with their Docsheaf account — on your subdomain and custom domain too — and see the
site only while they can open it in the app, so [permissions](members-and-permissions)
apply. Signing out, or losing access, closes the site for them. Members-only sites are never cached,
indexed or served to the MCP server, which makes them a good fit for internal handbooks and
knowledge bases.

## Preview before publishing

Members of the organization can open an unpublished site from the app to see it exactly as readers
will. To share unpublished _changes_, use a [change request preview](reviews-and-merge-rules#preview-links).

## Free and paid sites

On paid plans, a site uses one of the plan's paid slots or is a free site. Features such as custom
domains, share links, Insights, redirects, variants, Ask AI, the MCP server and adaptive content follow
the **site's** tier, so you choose which sites get them. See [Plans and billing](plans-and-billing).
