Update Go documentation (1.10.1)

This commit is contained in:
Thibaut Courouble 2018-04-28 10:04:40 -04:00
parent f08ae6131e
commit 11f685ff79

View file

@ -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.