-
Notifications
You must be signed in to change notification settings - Fork 18k
x/pkgsite: trim https:// from source links #40943
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
Comments
@julieqiu I was wandering past and noticed that you have a few issues with Either one is great, just pure curiosity. |
Sorry, I just saw this: https://github.com/golang/pkgsite/blob/master/CONTRIBUTING.md#finding-issues
👍 |
I think we need to add template function for strip http scheme. What do you think? |
Hey @wingyplus and @julieqiu if it is ok, can I take this issue? |
I think you can just claim it and do it, I don't think you need to get an acceptance, although I could be wrong. EDIT: Sorry, might be good to coordinate with @wingyplus since he has talked about it already, I more meant that if the issue is created and says |
Hey @tooolbox, thanks for your comment. What you are saying makes complete sense. I will coordinate with @wingyplus to check who can contribute to this. I am fairly new to this hence learning the ropes. @wingyplus please let me know if you are already working on this or not. |
@rahulw i didn't start working on this. So you can take this one. |
Trimming the URL by adding a new function to overview.go which trims the URL Fixes golang/go#40943
Change https://golang.org/cl/250040 mentions this issue: |
Trimming the URL by creating a new template function which trims the scheme of the URL Fixes golang/go#40943
Trimming the URL by creating a new template function which trims the scheme of the URL Fixes golang/go#40943
Trimming the URL by creating a new template function which trims the scheme of the URL Fixes golang/go#40943
Change https://golang.org/cl/251277 mentions this issue: |
Trimming the URL by creating a new template function which trims the scheme of the URL Fixes golang/go#40943
A new template function is created, which trims the scheme of the URL. Tests in server_test.go are modified accordingly. Fixes golang/go#40943
Apologies for abandoning this. |
Change https://golang.org/cl/266998 mentions this issue: |
Change https://golang.org/cl/310229 mentions this issue: |
Source code links on the overview tab currently show "https://". We should be trim the
https://
when displaying the link:Example - for https://pkg.go.dev/golang.org/x/pkgsite@v0.0.0-20200820201329-47151e4cbeb8/cmd/frontend?tab=overview, we currently show:
Instead, we should show:
The text was updated successfully, but these errors were encountered: