feat(search): update search to DocSearch v3#383
Merged
NataliaTepluhina merged 2 commits intoAug 17, 2020
Conversation
Member
|
@francoischalifour thank you, this looks amazing! Let me take a look at how to fix the build issue |
Member
|
@francoischalifour sorry, it did take some time to figure it out! In order to make it work on Netlify build, we need to:
import(/* webpackChunkName: "docsearch" */ '@docsearch/js'),
import(/* webpackChunkName: "docsearch" */ '@docsearch/css')I've created a PR to test the deployment: https://github.com/vuejs/docs-next/pull/410/files but I would be happy to close this if you could add requested changes to this PR 😅 Thank you one more time for creating it! Search works and looks amazing |
Contributor
Author
|
Thank you for investigating @NataliaTepluhina. Build issue is addressed in a6d5adf. |
Member
|
Thank you @francoischalifour! Happy to merge 🎉 |
Member
|
Have implemented this PR in vuepress 2, as |
alexeyvokin
pushed a commit
to alexeyvokin/docs-ru_old
that referenced
this pull request
Apr 1, 2024
fix: typos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello Vue team! This PR integrates the new version of DocSearch, that better reflects what we think documentation search should be.
Description
Reducing users' efforts to get them started integrating your product is key to adoption. We created DocSearch in 2015 as a community effort to solve this problem.
We've had time to try different approaches since then and would like to propose you a new documentation search experience. This new experience has been well received and is now live on the Docusaurus v2 integration: facebook/docusaurus#2815.
Preview
Changes
You can read about all the new features in the Docusaurus PR (facebook/docusaurus#2815), but here's a summary:
Notes
I'm not too familiar with VuePress so feel free to use this PR as a base branch, not as-is.
What's next
This new DocSearch version has been used in production for a couple of weeks now, on the DocSearch website and on a few Docusaurus v2 integrations.
This version is marked as alpha for now because the underlying libraries that we use (e.g.,
autocomplete-core) are still being worked on at @algolia to make sure that it handles more cases than DocSearch and usual autocomplete search experiences. We plan to go stable in the coming weeks but no major changes will happen to DocSearch.Let us know what you think!