Browse Source

Update Node.js documentation (0.12.1)

Thibaut 10 years ago
parent
commit
a1cdf07122
2 changed files with 6 additions and 8 deletions
  1. 0 6
      lib/docs/filters/node/entries.rb
  2. 6 2
      lib/docs/scrapers/node.rb

+ 0 - 6
lib/docs/filters/node/entries.rb

@@ -15,12 +15,6 @@ module Docs
         'UDP / Datagram Sockets' => 'UDP/Datagram',
         'Executing JavaScript'   => 'VM' }
 
-      IGNORE_DEFAULT_ENTRY = %w(globals timers domain buffer)
-
-      def include_default_entry?
-        !IGNORE_DEFAULT_ENTRY.include?(slug)
-      end
-
       def get_name
         REPLACE_NAMES[slug] || slug
       end

+ 6 - 2
lib/docs/scrapers/node.rb

@@ -3,8 +3,12 @@ module Docs
     self.name = 'Node.js'
     self.slug = 'node'
     self.type = 'node'
-    self.version = '0.12.0'
-    self.base_url = 'http://nodejs.org/api/'
+    self.version = '0.12.1'
+    self.base_url = 'https://nodejs.org/api/'
+    self.links = {
+      home: 'https://nodejs.org/',
+      code: 'https://github.com/joyent/node'
+    }
 
     html_filters.push 'node/clean_html', 'node/entries', 'title'