Update ReactNative documentation (0.56)

pull/822/merge
Thibaut Courouble 7 years ago
parent 665022f542
commit b88ae596a1

@ -12,7 +12,7 @@ module Docs
end end
def get_type def get_type
link = at_css('.navItemActive') link = at_css('.navListItemActive')
return 'Miscellaneous' unless link return 'Miscellaneous' unless link
section = link.ancestors('.navGroup').first section = link.ancestors('.navGroup').first
type = section.at_css('h3').content.strip type = section.at_css('h3').content.strip

@ -2,7 +2,7 @@ module Docs
class ReactNative < UrlScraper class ReactNative < UrlScraper
self.slug = 'react_native' self.slug = 'react_native'
self.type = 'react_native' self.type = 'react_native'
self.release = '0.55' self.release = '0.56'
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