-
Notifications
You must be signed in to change notification settings - Fork 27k
refactor(docs-infra): Update search results to display content when i… #57298
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
Conversation
|
Deployed adev-preview for 4f694ef to: https://ng-dev-previews-fw--pr-angular-angular-57298-adev-prev-stw9vnzy.web.app Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt. |
22d0982 to
fc45c27
Compare
caaf740 to
cfd0c00
Compare
…t is matched This commit updates the search results to query for the content as well as a snippet of the content for display when it's the content that matches the query rather than any of the headers.
cfd0c00 to
4f694ef
Compare
|
This PR was merged into the repository by commit 6f87dd3. The changes were merged into the following branches: main, 18.1.x, 18.2.x |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…t is matched
This commit updates the search results to query for the content as well as a snippet of the content for display when it's the content that matches the query rather than any of the headers.
This commit also de-duplicates matches further by only presenting the search result when the type matched. This means that a match on a lvl1 header, for example, will only include the results for the lvl1 header and not every lvl2 and lvl3 header underneath it as well.
old:


new:

