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