x/pkgsite: allow using repository url as search query #41095
What did you do?
Copied a github url and pasted it in the search bar.
What did you expect to see?
I expected it to behave like godoc.org and bring me to the package documentation.
What did you see instead?
0 results found
The text was updated successfully, but these errors were encountered:
This change removes the url scheme in the beginning of a search query to allow the use of full repository urls to directly redirect to the documentation page. Example Behavior: https://photos.app.goo.gl/THDyCV2juVLasaVP6 Updates golang/go#41095 Change-Id: I951aa634529aa554edac12487d333106e2d52fe9 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/254371 Trust: Miguel Acero <firstname.lastname@example.org> Run-TryBot: Miguel Acero <email@example.com> Reviewed-by: Julie Qiu <firstname.lastname@example.org>