You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks. It's totally doable. I just never had a use case for that and wonder which options would make send to pass through. I definitely would like to avoid complicating the integration and face possible inconsistencies later. Looking through the createIndex args it seems at least harmless to pass them through. So what is your use case for overriding those options?
@shishkin I was just trying to index only headings and figured out what I can to that with data-xxxxx tags according to pagefind docs.
But anyway for me it looks like in any library which is written over another one there is always a way to pass params like: pagefindOptions: { ... } and everything just goes through.
I see that the package I mentioned has a validation for these params which is nice, but not critical. It is the user's responsibility to check the docs and pass the correct params :-)
Hey, thanks for a great package.
I wonder if there is a way to define config options for pagefind, because I want to adjust index for my app.
Looks like it receives an empty options object here:
https://github.com/shishkin/astro-pagefind/blob/main/packages/astro-pagefind/src/pagefind.ts#L58
Btw, I see that it is implemented in another integration
https://github.com/itsmatteomanf/astro-components/blob/main/packages/astro-pagefind/src/integration.ts#L38
The text was updated successfully, but these errors were encountered: