Browse Source

Update Vue.js documentation (1.0.19)

Thibaut Courouble 9 years ago
parent
commit
122089a4d5
2 changed files with 5 additions and 5 deletions
  1. 1 1
      lib/docs/filters/vue/clean_html.rb
  2. 4 4
      lib/docs/scrapers/vue.rb

+ 1 - 1
lib/docs/filters/vue/clean_html.rb

@@ -6,7 +6,7 @@ module Docs
 
         at_css('h1').content = 'Vue.js' if root_page?
 
-        css('.demo', '.guide-links', '.footer').remove
+        css('.demo', '.guide-links', '.footer', '#ad').remove
 
         # Remove code highlighting
         css('figure').each do |node|

+ 4 - 4
lib/docs/scrapers/vue.rb

@@ -3,13 +3,13 @@ module Docs
     self.name = 'Vue.js'
     self.slug = 'vue'
     self.type = 'vue'
-    self.release = '1.0.13'
-    self.base_url = 'http://vuejs.org'
+    self.release = '1.0.19'
+    self.base_url = 'https://vuejs.org'
     self.root_path = '/guide/index.html'
     self.initial_paths = %w(/api/index.html)
     self.links = {
-      home: 'http://vuejs.org/',
-      code: 'https://github.com/yyx990803/vue'
+      home: 'https://vuejs.org/',
+      code: 'https://github.com/vuejs/vue'
     }
 
     html_filters.push 'vue/clean_html', 'vue/entries'