Skip to content

fix(site): exclude page actions from search index - #17

Open
pimlock wants to merge 1 commit into
mainfrom
fix/search-ignore-page-actions/pimlock
Open

pimlock wants to merge 1 commit into
mainfrom
fix/search-ignore-page-actions/pimlock

Conversation

@pimlock

@pimlock pimlock commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Pagefind indexed the page-actions widget in the page header, so whole-page search matches showed "Copy page" as the result preview. Mark the widget with data-pagefind-ignore so its button and menu text stay out of the index.

Not built or tested locally; verify by searching for "Copy page" on the PR preview.

Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
@netlify

netlify Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ai-openshell-docs ready!

Name Link
🔨 Latest commit 19dc089
🔍 Latest deploy log https://app.netlify.com/projects/ai-openshell-docs/deploys/6b047cd75751d5c4b125b0f3
😎 Deploy Preview https://deploy-preview-17--ai-openshell-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

No deployments
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.

2 participants