# Content gaps and broken links

Find what readers can't find, and links that lead nowhere.

The **Improve** pages of a site turn reader behaviour into a to-do list.

## Content gaps

**Improve → Content gaps** lists what readers looked for without success, most frequent first:

- searches that returned no results;
- questions to Ask AI that no page answered, or whose answer readers rated unhelpful.

Each gap is a page to write or a page to improve. The [Docsheaf Agent](docsheaf-agent) can
draft pages for them from what your docs already say.

## Broken links

**Improve → Broken links** checks every link in the published content of every section:

| Kind | Broken when |
| --- | --- |
| **Page** | No page has that path — after following redirects. |
| **Anchor** | The page exists but has no heading with that anchor. |
| **File** | The uploaded file no longer exists. |
| **External** | The address answers 404 or 410, its host doesn't exist, or the connection is refused. |

External links are checked in the background and the results are kept for a day, so the first visit
may show some as pending. Sites that block bots with 403 or 429 aren't reported as broken.

Each broken link names the page it's on — open it, fix the link and publish.
