Update React Native documentation (0.45)

pull/647/head
Thibaut Courouble 8 years ago
parent 13ec362a3e
commit ceb7831c24

@ -31,7 +31,7 @@ module Docs
sep = node.content.include?('static') ? '.' : '#' sep = node.content.include?('static') ? '.' : '#'
name.prepend(self.name + sep) name.prepend(self.name + sep)
name << '()' if node['class'].include?('methodTitle') name << '()' if node['class'].include?('methodTitle')
name.remove! %r{\:\s*\z} name.remove! %r{\??\:\s*\z}
id = node.at_css('.anchor')['name'] id = node.at_css('.anchor')['name']
entries << [name, id] entries << [name, id]
end end

@ -3,7 +3,7 @@ module Docs
self.name = 'React Native' self.name = 'React Native'
self.slug = 'react_native' self.slug = 'react_native'
self.type = 'react' self.type = 'react'
self.release = '0.44' self.release = '0.45'
self.base_url = 'https://facebook.github.io/react-native/docs/' self.base_url = 'https://facebook.github.io/react-native/docs/'
self.root_path = 'getting-started.html' self.root_path = 'getting-started.html'
self.links = { self.links = {

Loading…
Cancel
Save