mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update React documentation (16.3.0)
This commit is contained in:
parent
45d6f2398e
commit
a94991071e
2 changed files with 2 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue