commit | ba3d9443d983b9b199d35543904b5152db429d09 | [log] [tgz] |
---|---|---|
author | Jay Conrod <jayconrod@google.com> | Thu Feb 20 15:07:37 2020 -0500 |
committer | Jay Conrod <jayconrod@google.com> | Fri Feb 21 00:38:54 2020 +0000 |
tree | 6e11b0227d3b44a40f6eae5c011649cc49b2faf8 | |
parent | a2b2cb4a9f3e144f6df13c3630d0cf729d9182cb [diff] |
content/static: move code generation to new package This change prevents ./cmd/golangorg and other binaries that depend on ./content/static from transitively importing ./markdown. At this time, ./markdown is only needed for code generation (via go generate) and for testing. It does not need to be linked into ./cmd/golangorg. x/blog imports ./content/static. The transitive import of github.com/yuin/goldmark causes Go 1.12 builders to fail because they run in GOPATH mode, and they forbid dependencies outside the golang.org/x repos. Fixes golang/go#37337 Change-Id: I938c06cdea66d6e08ac27d28f089026b42db9062 Reviewed-on: https://go-review.googlesource.com/c/website/+/220358 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This repository holds the Go Website server code and content.
The easiest way to install is to run go get -u golang.org/x/website
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the website repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.