-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/pkgsite: run locally to view documentation of a pending CL #40159
Comments
@jayconrod |
Just to give my personal opinion - if I'm used to the UI of And this would also be useful when making small improvements or fixes to pkgsite, to allow quickly validating that the basic features and UI work as expected. |
This came up in conversation with @julieqiu and her team last week. For me, it's firmly in the category of "nice to have, not urgent." Does Aside from that, I'd mostly just prefer to use the same UI, as @mvdan mentioned. |
@julieqiu I would like to claim this if it's possible. I've been trying my hands at it for the last couple of days and hopefully will have a CL ready soon. |
Please do, thanks @sudo-sturbia! |
Change https://golang.org/cl/260777 mentions this issue: |
Change https://golang.org/cl/260778 mentions this issue: |
Change https://golang.org/cl/260779 mentions this issue: |
Create FetchLocalModule to fetch modules from local directories without needing a proxy instance. Add tests for FetchLocalModule and update helper functions. Updates golang/go#40159 Change-Id: Ie1296e6a2008bf8d7c3811864d5d948e042fcb38 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/260777 Reviewed-by: Jonathan Amsterdam <[email protected]> Reviewed-by: Julie Qiu <[email protected]> Trust: Jonathan Amsterdam <[email protected]> Run-TryBot: Jonathan Amsterdam <[email protected]>
Create localdatasource package which implements an in-memory internal.DataSource to display documentation locally. Add tests for localdatasource.DataSource. Updates golang/go#40159 Change-Id: Ie18dd68e6108cfa361c4db31030679fc55661d35 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/260778 Trust: Jonathan Amsterdam <[email protected]> Run-TryBot: Jonathan Amsterdam <[email protected]> Reviewed-by: Julie Qiu <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]>
With
golang.org/x/tools/cmd/godoc
, I can run a local documentation server from a GOPATH, and I can see rendered documentation for a change I'm working on. This is helpful if I'm writing non-trivial package documentation with multiple sections. I'd like to make sure the documentation looks the way I expect before mailing it for review.I'd like to be able to run a local instance of pkgsite to accomplish the same task within a module.
The text was updated successfully, but these errors were encountered: