From 122089a4d51860c212cf5b13ba1adfee7860fcd7 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 26 Mar 2016 16:25:36 -0400 Subject: [PATCH] Update Vue.js documentation (1.0.19) --- lib/docs/filters/vue/clean_html.rb | 2 +- lib/docs/scrapers/vue.rb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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'