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 returns seemingly non-compatible anchors #1977

Open
jyavorska opened this issue Jan 26, 2022 · 1 comment
Open

Search returns seemingly non-compatible anchors #1977

jyavorska opened this issue Jan 26, 2022 · 1 comment
Labels
bug Something isn't working 🏗 Handbook website Any issues and asks related to the handbook website, not the content of the handbook. handbook-search team/content-platform

Comments

@jyavorska
Copy link
Contributor

I've noticed something with search in the handbook, if I search for use cases it returns URLs that look like this:

Whereas, if I go to that page and generate a link from clicking on the anchor it looks like this:

The second style takes you to the right place on the page, but the first style (returned by search) takes you to a bit lower so it cuts off some of the content. Is there a reason for returning the two different styles of anchor links?

@jyavorska jyavorska added the 🏗 Handbook website Any issues and asks related to the handbook website, not the content of the handbook. label Jan 26, 2022
@marybelzer marybelzer added the bug Something isn't working label Jan 26, 2022
@jyavorska
Copy link
Contributor Author

Someone has added one of the sts= queries to the handbook (presumably they searched for the link to add it) so that should be cleaned up too: https://sourcegraph.com/search?q=context:global+repo:sourcegraph/handbook+sts%3D&patternType=literal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🏗 Handbook website Any issues and asks related to the handbook website, not the content of the handbook. handbook-search team/content-platform
Projects
Status: Backlog 📓
Development

No branches or pull requests

2 participants