-
Notifications
You must be signed in to change notification settings - Fork 18k
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/website: golang.org/doc/articles/wiki is broken #44314
Comments
The problem is because the wiki directory in x/website contains a file named "go.mod": https://github.com/golang/website/blob/master/_content/doc/articles/wiki/go.mod Despite being inside a _content directory that the go tool largely ignores due to the "_" prefix, it isn't ignored for the purpose of carving out a nested module. The content of that directory is not included in |
Change https://golang.org/cl/292829 mentions this issue: |
I'm not sure what's the best thing to do here. If we continue to use I've sent CL 292829 with a workaround of reading files from disk (as was done to some extent before CL 291690). We can consider using that approach to fix the immediate problem on golang.org and buy more time to think about a long term fix here. It's functional as of patch set 2, and can be previewed here. @rsc Let me know how you'd like to proceed here. |
Change https://golang.org/cl/293410 mentions this issue: |
I don't think the go.mod is doing anything useful. Sent CL 293410 to delete it. |
This was added in CL 207263 to isolate these from the main repo. That's not a concern anymore, and it's keeping them out of the website module and therefore out of the embed. Delete the go.mod to put them back. Fixes golang/go#44314. Change-Id: I36c20607d6132ad089ddae8150abe220eb90d3fd Reviewed-on: https://go-review.googlesource.com/c/website/+/293410 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
The https://golang.org/doc/articles/wiki/ page linked from https://golang.org/doc/#articles is broken presumably due to the content being moved out to x/website in 0cb3415.
The text was updated successfully, but these errors were encountered: