MasterEnoc пре 5 година
родитељ
комит
c3f0b3d56d
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5 1
      lib/docs/scrapers/pug.rb

+ 5 - 1
lib/docs/scrapers/pug.rb

@@ -3,7 +3,7 @@ module Docs
     self.type = 'pug'
     self.base_url = 'https://pugjs.org/'
     self.root_path = 'api/getting-started.html'
-    self.release = '2.0.3'
+    self.release = '3.0.0'
     self.links = {
       home: 'https://pugjs.org/',
       code: 'https://github.com/pugjs/pug'
@@ -18,6 +18,10 @@ module Docs
       Licensed under the MIT license.
     HTML
 
+    options[:skip_patterns] = [
+      /support/
+    ]
+
     def get_latest_version(opts)
       get_npm_version('pug', opts)
     end