Update React Native documentation (0.16)

pull/309/head
Thibaut 9 years ago
parent 9c05e652f1
commit bb6c116ff7

@ -44,7 +44,7 @@ module Docs
next if name.blank?
sep = node.content.include?('static') ? '.' : '#'
name.prepend(self.name + sep)
name << '()' if node.css('.propType').last.content.start_with?('(')
name << '()' if (n = node.css('.propType').last) && n.content.start_with?('(')
id = node.at_css('.anchor')['name']
entries << [name, id]
end

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

Loading…
Cancel
Save