History

Update Vue.js documentation (2.0.5, 1.0.28)

Thibaut Courouble committed 10 years ago

Commit 4119cd01 parent 09e44071 file · +7 −5Browse files

Unified · Split

lib/docs/scrapers/vue.rb+7−5
@@ -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] = <<-HTML15 options[:attribution] = <<-HTML
18 &copy; 2013&ndash;2016 Evan You, Vue.js contributors<br>16 &copy; 2013&ndash;2016 Evan You, Vue.js contributors<br>
@@ -20,13 +18,17 @@ module Docs · 1 unmodified line
20 HTML18 HTML
21 19
22 version '2' do20 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 end25 end
26 26
27 version '1' do27 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 end32 end
31 end33 end
32end34end