aboutsummaryrefslogtreecommitdiff
path: root/_content/help.html
AgeCommit message (Collapse)Author
2022-12-28_content: Sidebar template propFrederick Mixell
- Adds desktop only sidebar options - Turn on any doc template with "Sidebar" prop - currently 2 sidebar choices "faq" or "bug" Added to the following pages - /doc/install - /doc/faq - /help Video: https://drive.google.com/file/d/1MmZSvdqcmREeB5ZU0YXwuilFDsusmne1/view?usp=sharing Change-Id: Ie106fdfeac464752789319aa87ffe0144dbc5c88 Reviewed-on: https://go-review.googlesource.com/c/website/+/441857 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Jamal Carvalho <jamal@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Run-TryBot: Jamal Carvalho <jamal@golang.org>
2022-06-15all: fix a lot of typosFrederik Zipp
Change-Id: I0754d18f4c3c3d5dfa0c34b4bc154a35ac20b917 Reviewed-on: https://go-review.googlesource.com/c/website/+/411794 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
2021-11-22_content: unhide various reference links in ChinaRuss Cox
Sites like blog, play, talks, and tour (.golang.org) were not available in China: we have just the one URL golang.google.cn. But now: - Everything is consolidated to a single site, go.dev. - golang.google.cn serves the go.dev content. - We've arranged to use relative links for all the content on go.dev that points elsewhere on go.dev, so that it all works as golang.google.cn too. So we can unhide various reference links that were previously hidden to avoid advertising dead links. Change-Id: I5e1bf84de61817b0df95049b1f6fc773139d6cf6 Reviewed-on: https://go-review.googlesource.com/c/website/+/365496 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-11-22_content: replace scheme-relative URLs with https://Russ Cox
The time for scheme-relative URLs has passed. go.dev, like all of .dev, is an HTTPS-only domain. And golang.org has set HSTS headers for years too. So these relative links are always going to be https:// on the internet. When serving from http://localhost, they turn into http://, which is never what we want. So rewrite them all to hard-code https://. Change-Id: I1c25108910a12f2974b8f6ba86d49d0b697516a4 Reviewed-on: https://go-review.googlesource.com/c/website/+/365099 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-11-22all: make golang.org and go.dev links relativeRuss Cox
Now that there is one site, update all golang.org links to go.dev. But for any links being served from go.dev, make host-relative, so that when serving golang.google.cn, we stay on that host as much as possible. Change-Id: Id6e1303059b5522846a64202bc1a8b81dc3854cd Reviewed-on: https://go-review.googlesource.com/c/website/+/365095 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-11-22website: merge golang.org → go.devRuss Cox
As described in https://go.dev/blog/tidy-web, redirect golang.org to go.dev. The golang.org home page is retired - go.dev now has all the same info and links, and it doesn't have ten-year-old videos of me. All the other golang.org pages are now served directly from go.dev, styled differently but with the same content. A followup CL will merge the _content directories. Change-Id: Ib7f3d951842c021280981f9b926c4943f4d9cb52 Reviewed-on: https://go-review.googlesource.com/c/website/+/364859 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-08-17internal/web: merge with go.dev/cmd/internal/siteRuss Cox
internal/web was the framework left serving golang.org. go.dev/cmd/internal/site was the framework serving go.dev. This CL merges the two into a coherent, simple site serving framework that works for both sites, a step toward merging the sites themselves. The CL is difficult to break up, so it's a bit larger than would be ideal. The best place to start is the doc comment in internal/web/site.go and then the other changes in that directory. The rest of the CL is just minor adjustments to the repo to match. Change-Id: I927dea29396104a817bd81b6bf25fa43f996968f Reviewed-on: https://go-review.googlesource.com/c/website/+/339403 Trust: Russ Cox <rsc@golang.org> Website-Publish: Russ Cox <rsc@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-05-27_content/doc: update IRC serverSam Whited
See golang/go#46281 Change-Id: I35628633e47d92aa449d73512f80ed6326405229 GitHub-Last-Rev: 0013cd4b9719b15b53189f1a056399b028745a9e GitHub-Pull-Request: golang/website#53 Reviewed-on: https://go-review.googlesource.com/c/website/+/321731 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Trust: Josh Bleecher Snyder <josharian@gmail.com> Trust: Brad Fitzpatrick <bradfitz@golang.org>
2021-05-26all: remove Path metadata-based redirectsRuss Cox
Back when the entire site had to live in $GOROOT/doc, we needed some way to specify content that was served from URLs outside of golang.org/doc, so we added the ability for a doc to declare its own URL (the Path metadata). That meant the file system layout did not match the URL layout. That meant the content for any particular URL could be anywhere in the file system. That meant the entire file system had to be scanned to serve a URL. That meant an index of the file system had to be built and updated. Now that we have a file tree (_content) for the whole of golang.org, we can move files to make the file system layout match the URL space. Then each URL can be served by just reading the right file. Then the index and its updater can be deleted. And now if you want to edit /doc/gdb it's obvious which file to open. Change-Id: I3357f275e61a31c8de3091af580cac80753e71a4 Reviewed-on: https://go-review.googlesource.com/c/website/+/296383 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>