Browse Source

Update Go documentation (1.7.0)

Thibaut Courouble 9 years ago
parent
commit
9f642fd0ad
2 changed files with 2 additions and 2 deletions
  1. 1 1
      lib/docs/filters/go/clean_html.rb
  2. 1 1
      lib/docs/scrapers/go.rb

+ 1 - 1
lib/docs/filters/go/clean_html.rb

@@ -14,7 +14,7 @@ module Docs
           end
         end
 
-        css('#plusone', '#nav', '.pkgGopher', '#footer', '.collapsed').remove
+        css('#plusone', '#nav', '.pkgGopher', '#footer', '.collapsed', '.permalink').remove
 
         # Remove triangle character
         css('h2', '.exampleHeading').each do |node|

+ 1 - 1
lib/docs/scrapers/go.rb

@@ -1,7 +1,7 @@
 module Docs
   class Go < UrlScraper
     self.type = 'go'
-    self.release = '1.6.3'
+    self.release = '1.7.0'
     self.base_url = 'https://golang.org/pkg/'
     self.links = {
       home: 'https://golang.org/',