Skip to content

ENV-363 : Add Pagefind search functionality to documentation#686

Closed
Eklinden wants to merge 1 commit into
masterfrom
APP-363-Lagg-till-sok-i-dokumentationen
Closed

ENV-363 : Add Pagefind search functionality to documentation#686
Eklinden wants to merge 1 commit into
masterfrom
APP-363-Lagg-till-sok-i-dokumentationen

Conversation

@Eklinden

Copy link
Copy Markdown

This PR introduces Pagefind to the documentation to enable full-text search functionality. The search index is generated during the build process and integrated into the site header.

Key changes include:

  • Added pagefind as a dependency and updated the build script to generate the search index.
  • Integrated the Pagefind UI modal into the header for both desktop and mobile views.
  • Configured data-pagefind-body attributes to ensure relevant content is indexed while excluding unwanted sections.
  • Added custom styling to match the Envision design system and ensure the search modal respects dark/light mode settings.
  • Included a small script to handle modal closing on navigation or link selection.

@Eklinden Eklinden changed the title Add Pagefind search functionality to documentation ENV-363 : Add Pagefind search functionality to documentation Jun 15, 2026
@Eklinden Eklinden closed this Jun 15, 2026
@Eklinden Eklinden deleted the APP-363-Lagg-till-sok-i-dokumentationen branch June 15, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant