Explorar el Código

Update npm documentation (5.3.0)

Thibaut Courouble hace 8 años
padre
commit
6dc47d8ec9
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      lib/docs/scrapers/npm.rb

+ 2 - 1
lib/docs/scrapers/npm.rb

@@ -2,7 +2,7 @@ module Docs
   class Npm < UrlScraper
     self.name = 'npm'
     self.type = 'npm'
-    self.release = '5.0.2'
+    self.release = '5.3.0'
     self.base_url = 'https://docs.npmjs.com/'
     self.force_gzip = true
     self.links = {
@@ -12,6 +12,7 @@ module Docs
 
     html_filters.push 'npm/entries', 'npm/clean_html', 'title'
 
+    options[:max_image_size] = 130_000
     options[:container] = ->(filter) { filter.root_page? ? '.toc' : nil }
     options[:title] = false
     options[:root_title] = 'npm'