Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: integrate pagefind search functionality #1317

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

Sped0n
Copy link
Contributor

@Sped0n Sped0n commented Jul 13, 2024

Close #1204

You can create pagefind index for example site with npx pagefind --site ./exampleSite/public.

Summary

  • Add support for pagefind search type
  • Update search configuration to include pagefind as an option
  • Modify search logic to handle pagefind initialization and usage
  • Update search result processing to integrate with pagefind
  • Add logging for search results
  • Refactor search type handling in templates
  • Update documentation and configuration examples to reflect new search options

Copy link

vercel bot commented Jul 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
do-it ✅ Ready (Inspect) Visit Preview Sep 8, 2024 11:42am

@Sped0n
Copy link
Contributor Author

Sped0n commented Jul 13, 2024

It is still an early stage implementation, please do not merge yet.

@Sped0n
Copy link
Contributor Author

Sped0n commented Jul 13, 2024

fuse

SCR-20240713-luzp

pagefind

SCR-20240713-lvlx

@Sped0n
Copy link
Contributor Author

Sped0n commented Sep 6, 2024

Sorry for coming late, been busy with some personal stuff recently

@HEIGE-PCloud Do you want to set pagefind as default search engine? If so I will modify the github action file

@HEIGE-PCloud
Copy link
Owner

Probably not, as it involves an extra build step which will make it a breaking change. I would prefer to keep fuse as the default one as is.

@Sped0n
Copy link
Contributor Author

Sped0n commented Sep 7, 2024

Understood, I will squash the commits tonight

Signed-off-by: Spedon Wen <realsped0n@outlook.com>
@HEIGE-PCloud HEIGE-PCloud merged commit 9e3ae89 into HEIGE-PCloud:main Sep 9, 2024
4 checks passed
hodory pushed a commit to hodory/DoIt that referenced this pull request Dec 16, 2024
Signed-off-by: Spedon Wen <realsped0n@outlook.com>
Jatin794 pushed a commit to Jatin794/bog that referenced this pull request Dec 19, 2024
Signed-off-by: Spedon Wen <realsped0n@outlook.com>
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.

[FEATURE] Add Support Pagefind search engines
2 participants