mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update Vue.js documentation (2.0.5, 1.0.28)
This commit is contained in:
parent
09e4407baf
commit
4119cd0540
1 changed files with 7 additions and 5 deletions
|
@ -3,8 +3,6 @@ module Docs
|
|||
self.name = 'Vue.js'
|
||||
self.slug = 'vue'
|
||||
self.type = 'vue'
|
||||
self.root_path = '/guide/index.html'
|
||||
self.initial_paths = %w(/api/index.html)
|
||||
self.links = {
|
||||
home: 'https://vuejs.org/',
|
||||
code: 'https://github.com/vuejs/vue'
|
||||
|
@ -12,7 +10,7 @@ module Docs
|
|||
|
||||
html_filters.push 'vue/clean_html', 'vue/entries'
|
||||
|
||||
options[:only_patterns] = [/\/guide\//, /\/api\//]
|
||||
options[:only_patterns] = [/guide\//, /api\//]
|
||||
|
||||
options[:attribution] = <<-HTML
|
||||
© 2013–2016 Evan You, Vue.js contributors<br>
|
||||
|
@ -20,13 +18,17 @@ module Docs
|
|||
HTML
|
||||
|
||||
version '2' do
|
||||
self.release = '2.0.3'
|
||||
self.base_url = 'https://vuejs.org'
|
||||
self.release = '2.0.5'
|
||||
self.base_url = 'https://vuejs.org/v2/'
|
||||
self.root_path = 'guide/index.html'
|
||||
self.initial_paths = %w(api/index.html)
|
||||
end
|
||||
|
||||
version '1' do
|
||||
self.release = '1.0.28'
|
||||
self.base_url = 'https://v1.vuejs.org'
|
||||
self.root_path = '/guide/index.html'
|
||||
self.initial_paths = %w(/api/index.html)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue