Change-Id: Id4cdbba5e60c2328eae8441820cd30ebe9a26627
Reviewed-on: https://go-review.googlesource.com/c/website/+/625775
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Use the README in cmd/golangorg directory as the canonical location
for documenting the deployment process for websites served by that
command. The top-level README now redirects to it, just like the
README in tour directory.
Add more context on how the website uses tests to ensure that deploys
can be done safely.
While here, also shorten various URLs to use the new go.dev domain.
For golang/go#36707.
Updates golang/go#39687.
Change-Id: If5cf7a74b19830540b29612de37286c5f14244a1
Reviewed-on: https://go-review.googlesource.com/c/website/+/367994
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
Trust: Katie Hockman <katie@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
This is the first of a sequence of consolidations of web sites into
the single site go.dev. An accompanying blog post (next CL) will
explain the change.
The blog/_content tree moves to go.dev/_content/blog.
The *.article files were converted to *.md files using rsc.io/tmp/blog2md.
The old dot directives are now template function invocations,
so that blog content files are now exactly the same format and
semantics as regular site content files.
All the old blog redirects are carried forward, of course.
Also add exhaustive test that every .md file renders correctly.
Also rename rawhtml to raw, because it gets used for raw Markdown too.
The raw Markdown issue is working around a bigger problem
(html/template is not really right for Markdown) that we will have
to solve at some point, but not in this CL.
Change-Id: Ifa9b3b8d656a72af30d0d4e57e4c7bc8dacbc386
Reviewed-on: https://go-review.googlesource.com/c/website/+/342091
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>
There was too much duplicated code between main.go
and appinit.go and too many build-tagged-out files.
Make main.go the func main for both prod and local.
Introduce local.go, merging dl.go and play.go.
Introduce prod.go, holding the prod-specific bits of appinit.go
(the rest are in main.go).
Rename the build tag to prod instead of golangorg
(the whole program is golangorg; it's very confusing).
Fixesgolang/go#41102.
Change-Id: I261ce8e9171110f01798025f8218ce9f8253af81
Reviewed-on: https://go-review.googlesource.com/c/website/+/293413
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
The extra level of hierarchy here is unnecessary and confusing.
The directory is now _content so that any Go source files in our
docs are not considered by commands like "go mod tidy" and
"go test all".
Change-Id: Ib6d7cb12920193798ee825155a8f8b33f16e60d8
Reviewed-on: https://go-review.googlesource.com/c/website/+/291691
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>
A badge is added to the x/website README to link to
pkg.go.dev/golang.org/x/website.
Change-Id: Ia54daec1cee91bd37510d07fb509174ac1344f4c
Reviewed-on: https://go-review.googlesource.com/c/website/+/275193
Trust: Julie Qiu <julie@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Update README.md to explain how to make basic content changes,
with a link to the content/README.md for advanced things.
Fixesgolang/go#39687.
Change-Id: Ie2a603422f4c7057ffdab71f434b60f53e99a828
Reviewed-on: https://go-review.googlesource.com/c/website/+/251121
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This CL changes the deployment scripts so that they deploy x/website to
golang.org (GCP service name: default). x/website is now the canonical
source of golang.org.
Updates golang/go#29206
Change-Id: If29be6b191b84ac8856e4c0aa6239f96da41629b
Reviewed-on: https://go-review.googlesource.com/c/162157
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
The README in the root is being updated to let users know that this
website is under development and where they should direct their CLs.
Change-Id: I7355e1103e2ac202061db20b0c55e1cf6b1b95f6
Reviewed-on: https://go-review.googlesource.com/c/156957
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>