History

Update React Native documentation (0.26)

Thibaut Courouble committed 10 years ago

Commit f1753501 parent e5f8a732 files · +2 −1Browse files

Unified · Split

2 files
  1. lib/docs/filters/react/entries.rb +1 −0
  2. lib/docs/scrapers/react_native.rb +1 −1
lib/docs/filters/react/entries.rb+1−0
@@ -19,6 +19,7 @@ module Docs · 18 unmodified lines
19 19
20 def get_type20 def get_type
21 link = at_css('.nav-docs-section .active, .toc .active')21 link = at_css('.nav-docs-section .active, .toc .active')
22 return 'Miscellaneous' unless link
22 section = link.ancestors('.nav-docs-section, section').first23 section = link.ancestors('.nav-docs-section, section').first
23 type = section.at_css('h3').content.strip24 type = section.at_css('h3').content.strip
24 type = REPLACE_TYPES[type] || type25 type = REPLACE_TYPES[type] || type
lib/docs/scrapers/react_native.rb+1−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.25'6 self.release = '0.26'
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 = {