Unified · Split
| @@ -2,9 +2,9 @@ module Docs · 1 unmodified line | |||
| 2 | class React | 2 | class React |
| 3 | class EntriesFilter < Docs::EntriesFilter | 3 | class EntriesFilter < Docs::EntriesFilter |
| 4 | API_SLUGS = %w( | 4 | API_SLUGS = %w( |
| 5 | top-level-api | 5 | docs/top-level-api |
| 6 | component-api | 6 | docs/component-api |
| 7 | component-specs | 7 | docs/component-specs |
| 8 | ) | 8 | ) |
| 9 | 9 | ||
| 10 | def get_name | 10 | def get_name |
| @@ -3,22 +3,24 @@ module Docs · 2 unmodified lines | |||
| 3 | self.name = 'React' | 3 | self.name = 'React' |
| 4 | self.type = 'react' | 4 | self.type = 'react' |
| 5 | self.version = '0.13.3' | 5 | self.version = '0.13.3' |
| 6 | self.base_url = 'http://facebook.github.io/react/docs/' | 6 | self.base_url = 'https://facebook.github.io/react/' |
| 7 | self.root_path = 'getting-started.html' | 7 | self.root_path = 'docs/getting-started.html' |
| 8 | self.links = { | 8 | self.links = { |
| 9 | home: 'http://facebook.github.io/react/', | 9 | home: 'https://facebook.github.io/react/', |
| 10 | code: 'https://github.com/facebook/react' | 10 | code: 'https://github.com/facebook/react' |
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | html_filters.push 'react/entries', 'react/clean_html' | 13 | html_filters.push 'react/entries', 'react/clean_html' |
| 14 | 14 | ||
| 15 | options[:container] = '.documentationContent' | 15 | options[:container] = '.documentationContent' |
| 16 | 16 | options[:only_patterns] = [/\Adocs\//, /\Atips\//] | |
| 17 | options[:skip] = %w( | 17 | options[:skip] = %w( |
| 18 | videos.html | 18 | docs/ |
| 19 | complementary-tools.html | 19 | docs/videos.html |
| 20 | examples.html | 20 | docs/complementary-tools.html |
| 21 | conferences.html) | 21 | docs/examples.html |
| 22 | docs/conferences.html | ||
| 23 | tips/introduction.html) | ||
| 22 | 24 | ||
| 23 | options[:attribution] = <<-HTML | 25 | options[:attribution] = <<-HTML |
| 24 | © 2013–2015 Facebook Inc.<br> | 26 | © 2013–2015 Facebook Inc.<br> |