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

Make docs pages under /documentation/ searchable #110

Open
jasalt opened this issue Dec 29, 2024 · 0 comments
Open

Make docs pages under /documentation/ searchable #110

jasalt opened this issue Dec 29, 2024 · 0 comments

Comments

@jasalt
Copy link
Contributor

jasalt commented Dec 29, 2024

Currently the site search indexes only https://phel-lang.org/documentation/api/ entries but it would be very useful to also include the other documentation pages in https://phel-lang.org/documentation/.

Example documentation site with search returning both docs and function reference page entries grouped in quite clear way https://timber.github.io/docs/v2/. It uses Algolia, info.

Looking at the elasticlunr the current site search uses (background e.g. at #25), which I'm not familiar with, I'm left interested if the used search indexing and search result grouping and sorting could be accomplished in similar fashion.

Configuration-wise, maybe the (current) API / function reference entries should nevertheless be first in search results, in contrast to Timber docs where such entries have lower priority.

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

No branches or pull requests

1 participant