From 70688f9b01aa2f6db2c328307d61743cb84f827d Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 28 Feb 2016 16:27:45 -0500 Subject: [PATCH] Update React Native documentation (0.20) --- lib/docs/scrapers/react_native.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/docs/scrapers/react_native.rb b/lib/docs/scrapers/react_native.rb index 5dada155..8943504f 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.19' + self.release = '0.20' self.base_url = 'https://facebook.github.io/react-native/docs/' self.root_path = 'getting-started.html' self.links = { @@ -18,6 +18,11 @@ module Docs transforms.html troubleshooting.html) + options[:fix_urls] = ->(url) { + url.sub! 'docs/docs', 'docs' + url + } + options[:attribution] = <<-HTML © 2016 Facebook Inc.
Licensed under the Creative Commons Attribution 4.0 International Public License.