Skip to content

Commit 5e25bc0

Browse files
committed
internal/gaby: exclude go1.17_spec docs from crawling
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]>
1 parent 1c5f02e commit 5e25bc0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/gaby/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,11 @@ var godevDeny = []string{
782782
"https://go.dev/s/",
783783
"https://go.dev/src/",
784784
"https://go.dev/test/",
785+
786+
// The following pages will be removed at the start of go1.25.
787+
// TODO(golang/oscar#63): remove these rules.
788+
"https://go.dev/doc/go1.17_spec",
789+
"https://go.dev/doc/go1.17_spec.html",
785790
}
786791

787792
func godevClean(u *url.URL) error {

0 commit comments

Comments
 (0)