Prechádzať zdrojové kódy

Update Go documentation (1.5.2)

Thibaut 10 rokov pred
rodič
commit
5eb46b7359

+ 4 - 0
lib/docs/filters/go/clean_html.rb

@@ -39,6 +39,10 @@ module Docs
           node.name = 'pre'
         end
 
+        css('td[style]').each do |node|
+          node.remove_attribute('style')
+        end
+
         doc
       end
     end

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

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