Update React documentation (16.3.0)

This commit is contained in:
Thibaut Courouble 2018-04-28 10:38:07 -04:00
parent 45d6f2398e
commit a94991071e
2 changed files with 2 additions and 1 deletions

View file

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

View file

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