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

Search engine seems worst than Documenter.jl #190

Open
albertomercurio opened this issue Nov 29, 2024 · 3 comments
Open

Search engine seems worst than Documenter.jl #190

albertomercurio opened this issue Nov 29, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@albertomercurio
Copy link

I have the impression that the search engine finds the results in a different way compared to the one of Documenter.jl. I find the search engine of the last one more efficient, while DocumenterVitepress.jl seems a bit confusing sometimes.

@lazarusA
Copy link
Collaborator

lazarusA commented Nov 29, 2024

indeed. Someone will need to pass the options from here https://github.com/JuliaDocs/Documenter.jl/blob/c955fe8112b5503ae363cc7d0e315eff10c37d63/assets/html/js/search.js#L189 into the config options here:

@albertomercurio
Copy link
Author

What options should I define to have the same behavior of the Documenter.jl case?

@lazarusA lazarusA added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Dec 1, 2024
@lazarusA
Copy link
Collaborator

lazarusA commented Dec 4, 2024

Sorry, it has to do with https://vitepress.dev/reference/default-theme-search#minisearch-options, unfortunately I will not have time to figured out this one until next year. But the task is to mirror the options from documenter into the proper syntax for vitepress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants