Unified · Split
| @@ -4,7 +4,9 @@ · 3 unmodified lines | |||
| 4 | > h4 { @extend %block-label; } | 4 | > h4 { @extend %block-label; } |
| 5 | 5 | ||
| 6 | p code, li code { @extend %label; } | 6 | p code, li code { @extend %label; } |
| 7 | blockquote { @extend %note; } | 7 | blockquote, .deprecated { @extend %note; } |
| 8 | .deprecated { @extend %note-orange; } | ||
| 9 | .deprecatedTitle { font-weight: $boldFontWeight; } | ||
| 8 | 10 | ||
| 9 | span.platform { float: right; } | 11 | span.platform { float: right; } |
| 10 | span.propType, span.platform { font-weight: normal; } | 12 | span.propType, span.platform { font-weight: normal; } |
| @@ -6,12 +6,20 @@ module Docs · 5 unmodified lines | |||
| 6 | css('h1 ~ *').remove | 6 | css('h1 ~ *').remove |
| 7 | end | 7 | end |
| 8 | 8 | ||
| 9 | css('center > .button', 'p:contains("short survey")', 'iframe', '.embedded-simulator').remove | 9 | css('center > .button', 'p:contains("short survey")', 'iframe', '.embedded-simulator', '.deprecatedIcon').remove |
| 10 | 10 | ||
| 11 | css('h4.methodTitle').each do |node| | 11 | css('h4.methodTitle').each do |node| |
| 12 | node.name = 'h3' | 12 | node.name = 'h3' |
| 13 | end | 13 | end |
| 14 | 14 | ||
| 15 | css('div:not([class])', 'span:not([class])').each do |node| | ||
| 16 | node.before(node.children).remove | ||
| 17 | end | ||
| 18 | |||
| 19 | css('ul').each do |node| | ||
| 20 | node.before(node.children).remove if node.at_css('> p', '> h2') | ||
| 21 | end | ||
| 22 | |||
| 15 | doc | 23 | doc |
| 16 | end | 24 | end |
| 17 | end | 25 | end |
| @@ -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.43' | 6 | self.release = '0.44' |
| 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 = { |