---
description: Search pages by content.
---

# Search

Doctopus generates a search index and provides a search widget to let users search the documentation.
This is the only feature that requires client-side JavaScript.
This just uses [Pagefind](https://pagefind.app/) in the background.

[Pagefind](https://pagefind.app/) already does what I would have built myself and it does a really good job at it.

<!--
Sitemap

URL: https://doctopus.frankmayer.dev/index.md
Title: doctopus
Description: The simplest way to write beautiful documentation

URL: https://doctopus.frankmayer.dev/config.md
Title: Config
Description: Doctopus build configuration.

URL: https://doctopus.frankmayer.dev/diagrams.md
Title: Diagrams
Description: Different diagram tools.

URL: https://doctopus.frankmayer.dev/favicon.md
Title: Favicon
Description: How to set a custom favicon for your docs.

URL: https://doctopus.frankmayer.dev/homepage.md
Title: Homepage
Description: The special homepage (`/index.html`).

URL: https://doctopus.frankmayer.dev/hooks.md
Title: Hooks
Description: Integrate external tools using pre- and post-build hooks for things like generating files.

URL: https://doctopus.frankmayer.dev/math.md
Title: Math
Description: LaTeX math support.

URL: https://doctopus.frankmayer.dev/media.md
Title: Media
Description: More than just images.

URL: https://doctopus.frankmayer.dev/search.md
Title: Search
Description: Search pages by content.

URL: https://doctopus.frankmayer.dev/syntax_highlighting.md
Title: Syntax Highlighting
Description: Code blocks with syntax highlighting.
-->
