content/static/doc: set proper header ids in module documentation

Previously, we used a separate <a> tag before the header. Headers had
temporary ids, and the table of contents linked to those. With this
change, the header elements themselves will have ids.

For golang/go#33637

Change-Id: Ia79048f0db7cc4e8eac3bb5641278acd354fca01
Reviewed-on: https://go-review.googlesource.com/c/website/+/244766
Reviewed-by: Michael Matloob <matloob@golang.org>
3 files changed
tree: 9c0f08641a1fb48488f19fb7f04d052650934930
  1. .prettierrc
  2. AUTHORS
  3. CONTRIBUTING.md
  4. CONTRIBUTORS
  5. LICENSE
  6. PATENTS
  7. README.md
  8. cmd/
  9. codereview.cfg
  10. content/
  11. favicon.ico
  12. go.mod
  13. go.sum
  14. internal/
  15. robots.txt
README.md

Go Website

This repository holds the Go Website server code and content.

Download/Install

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.

JS/CSS Formatting

This repository uses prettier to format JS and CSS files.

The version of prettier used is 1.18.2.

It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.

Report Issues / Send Patches

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.