@@ -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
@@ -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 = {