History

Update Go documentation (1.5.2)

Thibaut committed 10 years ago

Commit 5eb46b71 parent ce6c6352 files · +5 −1Browse files

Showing the changes to lib/docs (2 of 2 files). Show all

Unified · Split

2 files
  1. lib/docs/filters/go/clean_html.rb +4 −0
  2. lib/docs/scrapers/go.rb +1 −1
lib/docs/filters/go/clean_html.rb+4−0
@@ -39,6 +39,10 @@ module Docs · 38 unmodified lines
39 node.name = 'pre'39 node.name = 'pre'
40 end40 end
41 41
42 css('td[style]').each do |node|
43 node.remove_attribute('style')
44 end
45
42 doc46 doc
43 end47 end
44 end48 end
lib/docs/scrapers/go.rb+1−1
@@ -1,7 +1,7 @@
1module Docs1module Docs
2 class Go < UrlScraper2 class Go < UrlScraper
3 self.type = 'go'3 self.type = 'go'
4 self.version = '1.5.0'4 self.version = '1.5.2'
5 self.base_url = 'https://golang.org/pkg/'5 self.base_url = 'https://golang.org/pkg/'
6 self.links = {6 self.links = {
7 home: 'https://golang.org/',7 home: 'https://golang.org/',