diff --git a/lib/docs/scrapers/go.rb b/lib/docs/scrapers/go.rb index c050e617..272b94b5 100644 --- a/lib/docs/scrapers/go.rb +++ b/lib/docs/scrapers/go.rb @@ -1,7 +1,7 @@ module Docs class Go < UrlScraper self.type = 'go' - self.release = '1.10.0' + self.release = '1.10.1' self.base_url = 'https://golang.org/pkg/' self.links = { home: 'https://golang.org/', @@ -15,6 +15,10 @@ module Docs options[:skip] = %w(runtime/msan/) options[:skip_patterns] = [/\/\//] + options[:fix_urls] = ->(url) do + url.sub 'https://golang.org/pkg//', 'https://golang.org/pkg/' + end + options[:attribution] = <<-HTML © Google, Inc.
Licensed under the Creative Commons Attribution License 3.0.