Update Node.js documentation (8.0.0)

pull/574/merge
Thibaut Courouble 8 years ago
parent 7a882107f0
commit 267f95f4c7

@ -8,6 +8,7 @@ module Docs
'modules' => 'module' }
REPLACE_TYPES = {
'C++ Addons' => 'Miscellaneous',
'C/C++ Addons' => 'Miscellaneous',
'Debugger' => 'Miscellaneous',
'Deprecated APIs' => 'Miscellaneous',
@ -74,9 +75,9 @@ module Docs
next unless (name.first.upcase! && !name.include?(' ')) || name.start_with?('Class Method')
# Differentiate server classes (http, https, net, etc.)
name.sub!('server.') { "#{(klass || 'https').sub('.', '_').downcase!}." }
name.sub!('server.') { "#{(klass || 'https').sub('.', '_').downcase}." }
# Differentiate socket classes (net, dgram, etc.)
name.sub!('socket.') { "#{klass.sub('.', '_').downcase!}." }
name.sub!('socket.') { "#{klass.sub('.', '_').downcase}." }
name.remove! 'Class Method:'
name.sub! 'buf.', 'buffer.'

@ -23,8 +23,8 @@ module Docs
HTML
version do
self.release = '7.10.0'
self.base_url = 'https://nodejs.org/dist/latest-v7.x/docs/api/'
self.release = '8.0.0'
self.base_url = 'https://nodejs.org/dist/latest-v8.x/docs/api/'
end
version '6 LTS' do

Loading…
Cancel
Save