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

x/website: error accessing "Writing Web Applications" section in docs #47759

Closed
michaelgrigoryan25 opened this issue Aug 17, 2021 · 3 comments
Closed
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@michaelgrigoryan25
Copy link

michaelgrigoryan25 commented Aug 17, 2021

What version of Go are you using (go version)?

$ go version
go version go1.16.7 windows/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env

What did you do?

I just visited https://golang.org/doc/articles/wiki/

What did you expect to see?

I expected to see the page describing how to create a simple wiki using Go.

What did you see instead?

I saw this error

template execution: template: doc/articles/wiki/index.html:77:2: executing "doc/articles/wiki/index.html" at <code "doc/articles/wiki/part1.go" `/^type Page/` `/}/`>: error calling code: open _content/doc/articles/wiki/doc/articles/wiki/part1.go: no such file or directory

image

@gopherbot gopherbot added this to the Unreleased milestone Aug 17, 2021
@mknyszek mknyszek changed the title x/website: Error accessing "Writing Web Applications" section in docs x/website: error accessing "Writing Web Applications" section in docs Aug 18, 2021
@mknyszek mknyszek added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Aug 18, 2021
@mknyszek
Copy link
Contributor

CC @dmitshur who's listed as the owner of a bunch of other x/website packages.

@dmitshur
Copy link
Contributor

This is likely introduced by recent x/website changes. @rsc Can you take a look?

@gopherbot
Copy link

Change https://golang.org/cl/343289 mentions this issue: cmd/golangorg: fix regexp match with ^ and $

@golang golang locked and limited conversation to collaborators Aug 18, 2022
passionSeven added a commit to passionSeven/website that referenced this issue Oct 18, 2022
Also fix doc/articles/wiki code file references.

Fixes golang/go#47759.

Change-Id: Idd0cce627f594898c805269ae7cd0e0f980aec8f
Reviewed-on: https://go-review.googlesource.com/c/website/+/343289
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants