| Age | Commit message (Collapse) | Author |
|
|
|
When there are Go releases or blog posts to announce, we post to
Bluesky and Mastodon about them. Add links to these social sites.
For golang/go#71319.
For golang/go#65046.
Change-Id: I48b475118ec1427f442512fb41aad64a645d792f
Reviewed-on: https://go-review.googlesource.com/c/website/+/755221
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Marc Dougherty <muncus@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
|
|
This change adds to each page a 'canonical' link
so that search engines will index only the go.dev
copy of a particular page instead of the tip.golang.org
one.
(Beware that in local testing the golangorg.hostPathHandler
function rewrites https://go.dev URLs to refer to localhost,
so this change does not have the desired effect in that mode.)
Updates golang/go#69600
Change-Id: I5bd8b0e0ac1b1d1a0d1b67b30e600246ed0beab8
Reviewed-on: https://go-review.googlesource.com/c/website/+/712040
Reviewed-by: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Alan Donovan <adonovan@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
|
|
The go.dev/gopls endpoint serves the gopls/doc
directory at the latest release of gopls;
the tip.golang.dev/gopls endpoint serves the latest
x/tools commit.
The GOLANGORG_LOCAL_X_TOOLS environment variable specifies
a local directory, overriding the use of git,
for previewing local doc changes.
Also, a command to recursively check links within the
go.dev/gopls subtree.
Fixes golang/go#68977
Change-Id: I5d92e6f0e5fdbed721a57f0a1ace2ac98e562fc8
Reviewed-on: https://go-review.googlesource.com/c/website/+/685635
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
This is the least-complication by-the-book way of making our
account verify to Mastodon (Hachyderm.io).
Change-Id: I863dd4e327b50a7604de288349836216ac0ae7bc
Reviewed-on: https://go-review.googlesource.com/c/website/+/552815
Reviewed-by: Joedian Reid <joedian@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: David Chase <drchase@google.com>
|
|
We already add it to the actual <h1>. Add to the title too.
Change-Id: I9cbb3d0f35a2a49d63469075f9e5cb38167de88c
Reviewed-on: https://go-review.googlesource.com/c/website/+/550136
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
|
|
The wiki pages have been copied to go.googlesource.com/wiki
and will be code reviewed using Gerrit, like other Go repos.
Unlike other Go repos, self-review will be permitted, and
there is no requirement for Googlers to be involved to make a change.
These relaxations are possible because the wiki has no production code.
The set of wiki +2'ers is a superset of the usual code +2'ers.
Fixes golang/go#61940.
Change-Id: I01823720091fbaa24e95e9c82abeaadba867a17c
Reviewed-on: https://go-review.googlesource.com/c/website/+/518297
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
Change-Id: Ic2498cf765722cb1d914c37a2b544ae1f4bd6e08
Reviewed-on: https://go-review.googlesource.com/c/website/+/512095
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
|
|
added skiplink to skip over the navigation and header elements of the
page and go directly to the main content.
https://screencast.googleplex.com/cast/NjUzMzAxNTk2MzQzNTAwOHxmYjc5NGE4OS1iMQ
Change-Id: I58271abacfcd80a2e996e83c6ad7611711989e92
Reviewed-on: https://go-review.googlesource.com/c/website/+/508975
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
|
|
Change-Id: Iee3897aa4f5c1311141411ec44193751cb516e4d
Reviewed-on: https://go-review.googlesource.com/c/website/+/509857
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Added fix for screen reader users to understand the
purpose of links.
Change-Id: I636f75bc334ac97f2bc2e88ad63c09b8e3bf8888
Reviewed-on: https://go-review.googlesource.com/c/website/+/507455
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Neelesh Bodas <neelesh@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Nooras Saba <saba@golang.org>
Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com>
|
|
Change-Id: I5bbdc9f7d685736ffddd5c5289c39c68c777088e
Reviewed-on: https://go-review.googlesource.com/c/website/+/492676
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Todd Kulesza <tkulesza@google.com>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
|
|
Fixes golang/go#57899
Change-Id: I66d6477f7d595229443b45230202957193114047
Reviewed-on: https://go-review.googlesource.com/c/website/+/476975
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
|
|
Fixes golang/go#58555
Change-Id: I36788aabbe09c4e5f343ae88d94392c202ff144f
Reviewed-on: https://go-review.googlesource.com/c/website/+/469815
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
|
|
Added to all doc children page with doclayout.
Added to Why Go pages.
Added to Security pages.
Video of Changes:
https://drive.google.com/file/d/1wX9e9K9H9wPTaLLQHh15-cWzMTMRr9DO/view?usp=sharing
Change-Id: I0fbf8e925e7fa357762d8eebd2bf13d561d49d86
Reviewed-on: https://go-review.googlesource.com/c/website/+/432775
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
|
|
- adds dark mode functionality for the community menu
- adds 'overflow: auto;' over 'overflow: scroll;' for play page about modal to prevent ghost scroll bars on certain devices.
Change-Id: I175f21aa06b47bd590010551e8bd3757993bea96
Reviewed-on: https://go-review.googlesource.com/c/website/+/453795
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
|
|
- 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>
|
|
- Updates pre style for doc articles
- Adds js for copying code snippets
- .CopyPaste class with button to work with the js
Darkmode Screenshot: https://drive.google.com/file/d/1plTsw3rd_KoeNkjwEB19uOGZtr5DlHAT/view?usp=sharing
Video: https://drive.google.com/file/d/1PuPiSVbKZsOSadW-iVYI-aNmiiXpPn8B/view?usp=sharing
Change-Id: I2c244c6dd8e73b13c7ee8554d35919d0eb3e18c6
Reviewed-on: https://go-review.googlesource.com/c/website/+/441856
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
|
|
Adds dropdown menus as well as fixed open/closed states. Adds submenus
to mobile header nav.
Change-Id: I0fdf6fd81008857b1ed28f0a8388de8e004eb722
Reviewed-on: https://go-review.googlesource.com/c/website/+/435522
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
|
|
The style theme matches pkg.go.dev behavior in respecting
the users preferred theme set by the system.
Change-Id: I1dab33bda043f054522f88f8e64c539e61934433
Reviewed-on: https://go-review.googlesource.com/c/website/+/424834
Reviewed-by: Suzy Mueller <suzmue@golang.org>
|
|
Use the same og:description and description; Signal at least uses description.
Use running gophers for the Twitter image for blog posts.
Adjust the gophers5logo to move the Go where it won't get cut off on Google chat.
Change-Id: I291ad7bf9ea58c0b6af3087213015196434d3163
Reviewed-on: https://go-review.googlesource.com/c/website/+/400434
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
|
|
This should make sharing on Twitter and in chat apps show nice
little cards for go.dev links that are shared. We can revise as needed
once we get some experience seeing them live.
Change-Id: I2fb41afd90193042c881868fe592bd2294208c90
Reviewed-on: https://go-review.googlesource.com/c/website/+/400334
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Added a toggle button with three states: auto, light, and dark
to set the preferred color scheme of go.dev.
For golang/go#34601.
Change-Id: I771f64f34294fa0a86bbcdd6c0acaa4af7e7cf8c
Reviewed-on: https://go-review.googlesource.com/c/website/+/391536
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamalcarvalho@google.com>
|
|
Added dark mode styles and images.
For golang/go#34601
Change-Id: I1a4d9599cbe8e3b51380be914cfe1abbc3cd79bb
Reviewed-on: https://go-review.googlesource.com/c/website/+/384874
Reviewed-by: Jamal Carvalho <jamalcarvalho@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
|
|
Go.dev was updated to use only system fonts.
Removed deprecated font styles and files.
Change-Id: Ibeaca8e5518d41a22323a99f0469bd0a510129d2
Reviewed-on: https://go-review.googlesource.com/c/website/+/374634
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Trust: Jamal Carvalho <jamalcarvalho@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alex Rakoczy <alex@golang.org>
|
|
Fixes golang/go#49812
Change-Id: Ie99ca5731794c1d3fb86bf4b90dc25c1b429465a
Reviewed-on: https://go-review.googlesource.com/c/website/+/367434
Trust: Zhuo Meng <mzh@golangcn.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
|
|
We still believe very much that Black Lives Matter
and that the Equal Justice Initiative and other causes
are worthy of support. We have made that point.
For most users the banner has now faded into the
background and goes unnoticed.
As part of the overall site revamp merging golang.org
with go.dev, remove the banner.
Change-Id: I82245fab0a9c5fcfdaca5ddfd8d64d503d4df096
Reviewed-on: https://go-review.googlesource.com/c/website/+/367915
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
|
|
Fixes golang/go#47795
Change-Id: I6a4561c8e49a9c799f34347e166cc4813f59c2fc
Reviewed-on: https://go-review.googlesource.com/c/website/+/364276
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
|
|
This is the last user-facing golang.org domain.
Now everything is on go.dev.
Change-Id: I8d9f4b7609a019f077848825cbd417d38058a5ac
Reviewed-on: https://go-review.googlesource.com/c/website/+/365494
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>
|
|
Many renames. And then adjust references.
Change-Id: I4d03c76dbc0bf4d070208d568861ee820904c0dc
Reviewed-on: https://go-review.googlesource.com/c/website/+/365097
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
lib/godoc/images/play-link.svg moves to go.dev/_content
and the one reference in go.dev/_content/css/styles.css is fixed.
The rest is all dead files.
Change-Id: Ic2b582855b976387e0a4d2cbd93e50942071ae31
Reviewed-on: https://go-review.googlesource.com/c/website/+/365096
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Add a standard 1rem margin above and below key block elements like h1, h2, ..., ol, ul, p.
Today it's very inconsistent and because you get a margin from either the block above
or below, it mostly works out, except in certain cases where text gets jammed together
a bit too much.
Add the auto-TOC generator for use in layouts that define #nav
(nothing yet, but golang.org-migrated pages will).
Add "Table of Contents" to the top of the TOC.
Allow pages to opt out of the TOC by setting HideTOC in their metadata.
Make subtitle heading (Version of Jan 1, 2021) line up horizontally with the TOC.
Preparation for the golang.org -> go.dev move.
Change-Id: Ic9121e5b636155c54e487bcb735ac0bc3f958733
Reviewed-on: https://go-review.googlesource.com/c/website/+/362502
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Follow up on https://golang.org/cl/343469.
Use different classes for the hamburger menu to set
event listeners on golang.org & go.dev to avoid
(mis-)listing the paths.
Fixes golang/go#47862.
Change-Id: I4bbf856cd86583bea402b1869583e90799a7d1f9
Reviewed-on: https://go-review.googlesource.com/c/website/+/344309
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
|
|
Since we now use strings.Trim on the URL, there should be no need to check for suffix.
This change also adds a trailing / to the breadcrumb URL.
This shouldn't have much effect on the site, however for local development
non-trailing-slash paths redirected to the actual site,
which was sometimes confusing to encounter when testing changes.
Fixes https://github.com/golang/go/issues/47761
Change-Id: I25718b2c2facf460db64f5f2ef09d78dc1233857
GitHub-Last-Rev: 27ef7578b8402f67b2c27d828bf10e33217c972a
GitHub-Pull-Request: golang/website#80
Reviewed-on: https://go-review.googlesource.com/c/website/+/343050
Reviewed-by: Russ Cox <rsc@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
|
|
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>
|