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

Fix google search syntax from search bar #3209

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Telroshan
Copy link
Collaborator

Description

Using the website's search bar currently includes any subdomain in the search results, including the htmx 1 docs, which can be confusing.

This issue had been discussed in #2813 at the time where we still had extensions on a separate website, making it hard to figure out a proper google search syntax.
Now that extensions are back to the main website, we can use the syntax that @MichaelWest22 had suggested (+[inurl:https://htmx.org]) at the time, to only include search results from the main website while including extensions.

Corresponding issue: resolves #2813

Testing

Checklist

  • I have read the contribution guidelines
  • I have targeted this PR against the correct branch (master for website changes, dev for
    source changes)
  • This is either a bugfix, a documentation update, or a new feature that has been explicitly
    approved via an issue
  • I ran the test suite locally (npm run test) and verified that it succeeded

@Telroshan Telroshan added the website Non-documentation website issues label Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
website Non-documentation website issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Website search also shows v1 docs, which is not ideal
1 participant