This is a demo announcement, dismissible and configured in site.json.

Search

Client-side full-text search scoped to the current version and language.

Try it

Press Ctrl/⌘ K (or click Search… in the topbar) and type manifest. Results deep-link to the exact section, shown as “Page > Heading”.

How it works

At build time the theme emits one searchindex.json for the whole site, chunked per heading. Each h2/h3 section is its own entry with its anchor. Nothing search-related loads with the page. On the first open of the modal the browser fetches the index and the search library in parallel. Pages stay light, and the index is built once per visit. Everything is client-side: queries never leave the browser, no search server exists, and it works in intranet and air-gapped deployments.

Scoping

Results are scoped to the current version and language by default. The modal’s filters switch scope, and the All button searches everything, including the changelog.

Keyboard

Keys Action
Ctrl/⌘ K Open or close
Type Live results
Enter Open the first result
Move through results
Esc Close

Press ? anywhere for the full shortcut overview.

The 404 page searches too

A missing URL offers a Search the docs button prefilled with the broken link’s slug. Readers landing on dead links from old bookmarks find the moved page in one keystroke.

Important

Search requires the SearchIndex output format in your hugo.toml. See Configuration. Without it the modal reports “Search is unavailable”.