Update React documentation (16.3.0)

pull/797/merge
Thibaut Courouble 7 years ago
parent 45d6f2398e
commit a94991071e

@ -7,6 +7,7 @@ module Docs
def get_type def get_type
link = at_css("nav a[href='#{result[:path].split('/').last}']") link = at_css("nav a[href='#{result[:path].split('/').last}']")
return 'Miscellaneous' unless link
link.ancestors('ul').last.previous_element.content link.ancestors('ul').last.previous_element.content
end end

@ -2,7 +2,7 @@ module Docs
class React < UrlScraper class React < UrlScraper
self.name = 'React' self.name = 'React'
self.type = 'simple' self.type = 'simple'
self.release = '16.2.0' self.release = '16.3.0'
self.base_url = 'https://reactjs.org/docs/' self.base_url = 'https://reactjs.org/docs/'
self.root_path = 'hello-world.html' self.root_path = 'hello-world.html'
self.links = { self.links = {

Loading…
Cancel
Save