Update Node.js documentation (7.6.0, 6.10.0, 4.8.0)

pull/570/merge
Thibaut Courouble 8 years ago
parent 3920b44059
commit 03403bde6c

@ -7,13 +7,14 @@ module Docs
'modules' => 'module' }
REPLACE_TYPES = {
'Addons' => 'Miscellaneous',
'Debugger' => 'Miscellaneous',
'os' => 'OS',
'StringDecoder' => 'String Decoder',
'TLS (SSL)' => 'TLS/SSL',
'UDP / Datagram Sockets' => 'UDP/Datagram',
'Executing JavaScript' => 'VM' }
'Addons' => 'Miscellaneous',
'Debugger' => 'Miscellaneous',
'os' => 'OS',
'StringDecoder' => 'String Decoder',
'TLS (SSL)' => 'TLS/SSL',
'UDP / Datagram Sockets' => 'UDP/Datagram',
'VM (Executing JavaScript)' => 'VM',
'Executing JavaScript' => 'VM' }
def get_name
REPLACE_NAMES[slug] || slug

@ -23,17 +23,17 @@ module Docs
HTML
version do
self.release = '7.5.0'
self.release = '7.6.0'
self.base_url = 'https://nodejs.org/dist/latest-v7.x/docs/api/'
end
version '6 LTS' do
self.release = '6.9.5'
self.release = '6.10.0'
self.base_url = 'https://nodejs.org/dist/latest-v6.x/docs/api/'
end
version '4 LTS' do
self.release = '4.7.3'
self.release = '4.8.0'
self.base_url = 'https://nodejs.org/dist/latest-v4.x/docs/api/'
end
end

Loading…
Cancel
Save