Skip to content

Commit

Permalink
internal/gaby: exclude go1.17_spec docs from crawling
Browse files Browse the repository at this point in the history
This page was temporarily added to help spec revision.
It will be removed at the start of go1.25.
Until then, ignore this page.
(We have two entries for this page in our DB)

For #63

Change-Id: Ibf369100ca25f47ca487bb87f7327388ef8dcef3
Reviewed-on: https://go-review.googlesource.com/c/oscar/+/633395
Reviewed-by: Tatiana Bradley <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
  • Loading branch information
hyangah committed Dec 15, 2024
1 parent 1c5f02e commit 5e25bc0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/gaby/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,11 @@ var godevDeny = []string{
"https://go.dev/s/",
"https://go.dev/src/",
"https://go.dev/test/",

// The following pages will be removed at the start of go1.25.
// TODO(golang/oscar#63): remove these rules.
"https://go.dev/doc/go1.17_spec",
"https://go.dev/doc/go1.17_spec.html",
}

func godevClean(u *url.URL) error {
Expand Down

0 comments on commit 5e25bc0

Please sign in to comment.