Update Go documentation (1.10.1)

pull/797/merge
Thibaut Courouble 7 years ago
parent f08ae6131e
commit 11f685ff79

@ -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
&copy; Google, Inc.<br>
Licensed under the Creative Commons Attribution License 3.0.

Loading…
Cancel
Save