All plugins

Search

Full-text search with MiniSearch, built at compile time.

Built-in @docmd/plugin-search

Overview

Generates a static JSON index of every page heading and paragraph at build time, and delivers instant, zero-dependency client-side search in under 15 kB. No servers, no external APIs.

Installation

# Search ships with docmd — nothing to install. docmd build

This plugin is built into docmd — nothing to install.

Permissions

Runtime behaviour of this plugin during a build:

CapabilityUsed
Reads project filesYes
Writes to site/Yes
Network requestsNo
Runs subprocessNo

Capabilities

docmd hooks this plugin registers:

init body assets post-build

Tags

searchindexclient-side