Update Yii documentation (2.0.12, 1.1.19)

pull/647/head
Thibaut Courouble 8 years ago
parent 717d1b37cc
commit 88d235cb49

@ -1,9 +1,5 @@
._yii {
h2 { @extend %block-heading; }
h3 { @extend %block-label, %label-blue; }
h4 { font-size: 1em; }
blockquote { @extend %note; }
@extend %simple;
.detail-header-tag, .detailHeaderTag {
float: right;

@ -32,7 +32,7 @@ module Docs
node.name = 'th'
end
css('.summary', 'span[style]').each do |node|
css('.summary', 'span[style]', 'div.doc-description', 'div.property-doc', 'div.class-description', 'th > span').each do |node|
node.before(node.children).remove
end
@ -40,6 +40,8 @@ module Docs
node.next_element['id'] = node['id'] if node.next_element && node.next_element.name != 'a'
end
css('table', 'pre', 'tr', 'td', 'th').remove_attr('class')
doc
end
end

@ -26,6 +26,7 @@ module Docs
name = node.child.content.strip
name.prepend "#{self.name} "
entries << [name, node['id']]
node.remove_attribute('class')
end
end
end

@ -8,7 +8,7 @@ module Docs
HTML
version '2.0' do
self.release = '2.0.11'
self.release = '2.0.12'
self.base_url = 'http://www.yiiframework.com/doc-2.0/'
self.root_path = 'index.html'
self.links = {
@ -23,7 +23,7 @@ module Docs
end
version '1.1' do
self.release = '1.1.17'
self.release = '1.1.19'
self.base_url = 'http://www.yiiframework.com/doc/api/1.1/'
self.links = {
home: 'http://www.yiiframework.com/',

Loading…
Cancel
Save