mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update Node.js documentation (0.12.1)
This commit is contained in:
parent
d1b252c4f7
commit
a1cdf07122
2 changed files with 6 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue