Unified · Split
| @@ -3,7 +3,7 @@ module Docs · 2 unmodified lines | |||
| 3 | self.name = 'React Native' | 3 | self.name = 'React Native' |
| 4 | self.slug = 'react_native' | 4 | self.slug = 'react_native' |
| 5 | self.type = 'react' | 5 | self.type = 'react' |
| 6 | self.release = '0.19' | 6 | self.release = '0.20' |
| 7 | self.base_url = 'https://facebook.github.io/react-native/docs/' | 7 | self.base_url = 'https://facebook.github.io/react-native/docs/' |
| 8 | self.root_path = 'getting-started.html' | 8 | self.root_path = 'getting-started.html' |
| 9 | self.links = { | 9 | self.links = { |
| @@ -18,6 +18,11 @@ module Docs · 8 unmodified lines | |||
| 18 | transforms.html | 18 | transforms.html |
| 19 | troubleshooting.html) | 19 | troubleshooting.html) |
| 20 | 20 | ||
| 21 | options[:fix_urls] = ->(url) { | ||
| 22 | url.sub! 'docs/docs', 'docs' | ||
| 23 | url | ||
| 24 | } | ||
| 25 | |||
| 21 | options[:attribution] = <<-HTML | 26 | options[:attribution] = <<-HTML |
| 22 | © 2016 Facebook Inc.<br> | 27 | © 2016 Facebook Inc.<br> |
| 23 | Licensed under the Creative Commons Attribution 4.0 International Public License. | 28 | Licensed under the Creative Commons Attribution 4.0 International Public License. |