History

Update React Native documentation (0.20)

Thibaut Courouble committed 10 years ago

Commit 70688f91 parent dd35d3b1 file · +6 −1Browse files

Unified · Split

lib/docs/scrapers/react_native.rb+6−1
@@ -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.html18 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] = <<-HTML26 options[:attribution] = <<-HTML
22 &copy; 2016 Facebook Inc.<br>27 &copy; 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.