# How public docs work

> For the complete documentation index, see [llms.txt](https://falconer.com/docs/llms.txt).

Publish a Falconer space as a documentation website, with search, an AI assistant, and your own domain.


Publish a Falconer space as a documentation website, with search, an AI assistant, and your own domain.

Write in the Falconer editor, or keep writing Markdown in a GitHub repository with [two-way sync](https://falconer.com/docs/two-way-sync/overview.md), and publish from the same source.

![A space with a docs site, showing the site card with its address, Live status, and Site configuration](/docs/images/public-docs-space-page.png)

## How it works

A docs site belongs to one [space](https://falconer.com/docs/organize/spaces.md). The space's **Docs** tab is the site's navigation, and its **Files** tab contains the Markdown files, images, and configuration behind it.

Publishing is done in builds. A build is a snapshot of the space rendered as a website. You can preview any build privately, make one live, and go back to an earlier one at any time. Visitors only ever see the build you published, so you can keep editing without changing the live site.

The site is served from Falconer's hosting at `your-subdomain.falconer.site`. You can move it to a [custom domain](https://falconer.com/docs/public-docs/custom-domain.md) such as `docs.example.com` or `example.com/docs`.

## What visitors see

- A documentation site with a sidebar, header tabs, breadcrumbs, light and dark themes, and a table of contents on every page.
- [**Search**](https://falconer.com/docs/public-docs/site-search.md), served from an index of the published build.
- [**Ask the docs**](https://falconer.com/docs/public-docs/ask-the-docs.md), an AI assistant that answers from the published pages with citations.
- A page action menu with **Copy**, **View as Markdown**, **Ask the agent**, **Ask ChatGPT**, and **Ask Claude**.
- [Search engine optimization](https://falconer.com/docs/public-docs/search-engine-optimization.md) built in: a sitemap, structured data, social images, and canonical URLs on every build.
- [Agent-ready docs](https://falconer.com/docs/public-docs/agent-ready-docs.md): `llms.txt`, `llms-full.txt`, and a Markdown version of every page for AI assistants and coding agents.

![The published site with the Ask the docs panel open next to a page](/docs/images/public-docs-site-ask.png)

## Author roles

| Role | What they can do |
| --- | --- |
| Anyone with edit access to the space | Edit pages, organize navigation, start a build, and see build issues |
| Organization owners | Everything above, plus preview builds, publish and unpublish, change site settings, set a password, and manage the custom domain |

Paid add-ons such as a custom domain and white-label branding are changed by an owner who can manage billing.

> **Note:** Public docs are enabled per organization. If you don't see **Set up public docsite** when creating a space, contact [support@falconer.com](mailto:support@falconer.com) to turn it on.

## Publishing steps

1. [Set up a docs site](https://falconer.com/docs/public-docs/set-up-a-docs-site.md) on a space.
2. Write pages and arrange them with the [Docs and Files views](https://falconer.com/docs/public-docs/docs-and-files-views.md) and [navigation sections](https://falconer.com/docs/public-docs/navigation-sections.md).
3. [Build, preview, and publish](https://falconer.com/docs/public-docs/build-and-publish.md).
4. [Customize the site](https://falconer.com/docs/public-docs/customize-your-site.md), add a [custom domain](https://falconer.com/docs/public-docs/custom-domain.md), and set [redirects](https://falconer.com/docs/public-docs/redirects.md) as the site grows.

## Work from a repository

If the space is [synced with GitHub](https://falconer.com/docs/two-way-sync/set-up-two-way-sync.md), the site's configuration is stored as `falconer.json` at the root of the synced path and committed with your pages. Engineers can edit it in the repository, and the settings in Falconer update when the change is pulled. See the [falconer.json reference](https://falconer.com/docs/public-docs/falconer-json-reference.md).

## Automate with the API and MCP

Everything on these pages is also available through the Falconer MCP and the public API: creating sites, starting builds, publishing, setting redirects, and managing custom domains. See [Automate with MCP and the API](https://falconer.com/docs/public-docs/automate.md).

## Learn more

- [Site search](https://falconer.com/docs/public-docs/site-search.md) and [Ask the docs](https://falconer.com/docs/public-docs/ask-the-docs.md)
- [Password protection](https://falconer.com/docs/public-docs/password-protection.md)
- [Components](https://falconer.com/docs/public-docs/components.md)
- [Plans and limits](https://falconer.com/docs/public-docs/plans-and-limits.md)
- [Troubleshooting](https://falconer.com/docs/public-docs/troubleshooting.md)
