Unified · Split
| @@ -3,8 +3,6 @@ module Docs · 2 unmodified lines | |||
| 3 | self.name = 'Vue.js' | 3 | self.name = 'Vue.js' |
| 4 | self.slug = 'vue' | 4 | self.slug = 'vue' |
| 5 | self.type = 'vue' | 5 | self.type = 'vue' |
| 6 | self.root_path = '/guide/index.html' | ||
| 7 | self.initial_paths = %w(/api/index.html) | ||
| 8 | self.links = { | 6 | self.links = { |
| 9 | home: 'https://vuejs.org/', | 7 | home: 'https://vuejs.org/', |
| 10 | code: 'https://github.com/vuejs/vue' | 8 | code: 'https://github.com/vuejs/vue' |
| @@ -12,7 +10,7 @@ module Docs · 1 unmodified line | |||
| 12 | 10 | ||
| 13 | html_filters.push 'vue/clean_html', 'vue/entries' | 11 | html_filters.push 'vue/clean_html', 'vue/entries' |
| 14 | 12 | ||
| 15 | options[:only_patterns] = [/\/guide\//, /\/api\//] | 13 | options[:only_patterns] = [/guide\//, /api\//] |
| 16 | 14 | ||
| 17 | options[:attribution] = <<-HTML | 15 | options[:attribution] = <<-HTML |
| 18 | © 2013–2016 Evan You, Vue.js contributors<br> | 16 | © 2013–2016 Evan You, Vue.js contributors<br> |
| @@ -20,13 +18,17 @@ module Docs · 1 unmodified line | |||
| 20 | HTML | 18 | HTML |
| 21 | 19 | ||
| 22 | version '2' do | 20 | version '2' do |
| 23 | self.release = '2.0.3' | 21 | self.release = '2.0.5' |
| 24 | self.base_url = 'https://vuejs.org' | 22 | self.base_url = 'https://vuejs.org/v2/' |
| 23 | self.root_path = 'guide/index.html' | ||
| 24 | self.initial_paths = %w(api/index.html) | ||
| 25 | end | 25 | end |
| 26 | 26 | ||
| 27 | version '1' do | 27 | version '1' do |
| 28 | self.release = '1.0.28' | 28 | self.release = '1.0.28' |
| 29 | self.base_url = 'https://v1.vuejs.org' | 29 | self.base_url = 'https://v1.vuejs.org' |
| 30 | self.root_path = '/guide/index.html' | ||
| 31 | self.initial_paths = %w(/api/index.html) | ||
| 30 | end | 32 | end |
| 31 | end | 33 | end |
| 32 | end | 34 | end |