Update Vue.js documentation (3.2.20)

pull/1641/head
Simon Legner 3 years ago
parent 10448a0a0e
commit f0c16cb994

@ -14,6 +14,15 @@ module Docs
node.name = 'strong'
end
# Remove CodePen div
css('.codepen').each do |node|
next if node.previous_element.nil?
span = node.css('span:contains("See the Pen")').remove
node.previous_element.add_child(' ')
node.previous_element.add_child(span)
node.remove
end
# Remove code highlighting
css('figure').each do |node|
node.name = 'pre'

@ -10,6 +10,7 @@ module Docs
options[:only_patterns] = [/guide\//, /api\//]
options[:skip] = %w(guide/team.html)
options[:skip_patterns] = [/guide\/contributing/]
options[:replace_paths] = { 'guide/' => 'guide/index.html' }
options[:attribution] = <<-HTML
@ -18,7 +19,7 @@ module Docs
HTML
version '3' do
self.release = '3.2.4'
self.release = '3.2.20'
self.base_url = 'https://v3.vuejs.org/'
self.root_path = 'guide/introduction.html'
self.initial_paths = %w(api/)

Loading…
Cancel
Save