-
Notifications
You must be signed in to change notification settings - Fork 124
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
Add pagefind #2477
base: master
Are you sure you want to change the base?
Add pagefind #2477
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2477 +/- ##
==========================================
+ Coverage 50.99% 51.11% +0.11%
==========================================
Files 124 124
Lines 5383 5355 -28
Branches 1160 1152 -8
==========================================
- Hits 2745 2737 -8
+ Misses 2348 2328 -20
Partials 290 290 ☔ View full report in Codecov by Sentry. |
Hello! I'm trying to implement this but I'm having trouble with indexing the generated HTML pages using the methods provided by the Plugins, so any tips or comments to point me in the right direction would be greatly appreciated! I'm also investigating adding pagefind as a dependency, adding it to the current build process (
This issue can be resolved using async import, and I've used it in More specifics can be found in this discussion., and here on cjs-esm import compatibility If anyone has any ideas on how best to continue, or if I've missed something, please help me out. Thank you! |
Ok not too sure about the dependency issue but you could try using postRender instead of processNode? The functionality might be similiar to that in the Mermaid PR #2475 |
cb84513
to
69ec838
Compare
From my perspectives, the Pull Request is on the right track to bring in I think to ensure TypeScript configuration is set up to output ESM code, you can modify the
|
I found this useful when I was looking through this issue.
Tried it, and it correctly converts the .ts to the appropriate .js code for module resolution. I will also try and work on refining this PR. Cheers! |
Hello! Yes this looks great, any work refining this PR would be greatly appreciated |
What is the purpose of this pull request?
Overview of changes:
To track the addition of pagefind for full-text search. Welcome anyone to help look through.
Anything you'd like to highlight/discuss:
Testing instructions:
Proposed commit message: (wrap lines at 72 characters)
Add pagefind for search
Checklist: ☑️
Reviewer checklist:
Indicate the SEMVER impact of the PR:
At the end of the review, please label the PR with the appropriate label:
r.Major
,r.Minor
,r.Patch
.Breaking change release note preparation (if applicable):