diff --git a/lib/docs/filters/react_native/entries.rb b/lib/docs/filters/react_native/entries.rb index 801c04ae..a5489cd2 100644 --- a/lib/docs/filters/react_native/entries.rb +++ b/lib/docs/filters/react_native/entries.rb @@ -31,7 +31,7 @@ module Docs sep = node.content.include?('static') ? '.' : '#' name.prepend(self.name + sep) name << '()' if node['class'].include?('methodTitle') - name.remove! %r{\:\s*\z} + name.remove! %r{\??\:\s*\z} id = node.at_css('.anchor')['name'] entries << [name, id] end diff --git a/lib/docs/scrapers/react_native.rb b/lib/docs/scrapers/react_native.rb index 99557b7b..d0931eac 100644 --- a/lib/docs/scrapers/react_native.rb +++ b/lib/docs/scrapers/react_native.rb @@ -3,7 +3,7 @@ module Docs self.name = 'React Native' self.slug = 'react_native' self.type = 'react' - self.release = '0.44' + self.release = '0.45' self.base_url = 'https://facebook.github.io/react-native/docs/' self.root_path = 'getting-started.html' self.links = {