diff --git a/lib/docs/filters/vue/clean_html.rb b/lib/docs/filters/vue/clean_html.rb index 980eaea4..7eee4348 100644 --- a/lib/docs/filters/vue/clean_html.rb +++ b/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| diff --git a/lib/docs/scrapers/vue.rb b/lib/docs/scrapers/vue.rb index 83000173..41ecb8fb 100644 --- a/lib/docs/scrapers/vue.rb +++ b/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'