From ad61ad356e501e901f53020641a84ad13abfd605 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sun, 26 Apr 2026 09:10:07 -0700 Subject: [PATCH] Update the documentation to use Pagefind's component-based search UI. --- NEWS | 1 + docs/_includes/layouts/base.njk | 1 + docs/search.md | 46 ++++++++++++++++++++++++++++----- 3 files changed, 42 insertions(+), 6 deletions(-) diff --git a/NEWS b/NEWS index aa6ca5f1..7ad2f218 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,7 @@ "password_transport" option is "pipe". * Add a development script for upgrading pinned dependencies. * Fix the PostgreSQL database hook to properly parse "*options" values containing quoted spaces. + * Update the documentation to use Pagefind's component-based search UI. 2.1.5 * #1229: Document the permissions needed for the PostgreSQL database hook: diff --git a/docs/_includes/layouts/base.njk b/docs/_includes/layouts/base.njk index ff46536d..15375e3e 100644 --- a/docs/_includes/layouts/base.njk +++ b/docs/_includes/layouts/base.njk @@ -23,6 +23,7 @@ {% if feedTitle and feedUrl %} {% endif %} + {{ head_additions | safe }} diff --git a/docs/search.md b/docs/search.md index 8a4183a9..a1a997d4 100644 --- a/docs/search.md +++ b/docs/search.md @@ -1,14 +1,48 @@ --- title: Search the documentation eleventyExcludeFromCollections: true +templateEngineOverride: md +head_additions: > + + + --- - - - -