Update Ruby documentation (3.4.1)

pull/2394/head
Simon Legner 4 weeks ago
parent c14d91e966
commit a92e5144e5

@ -13,8 +13,11 @@ module Docs
meta = Nokogiri::XML::Node.new 'dl', doc.document
meta['class'] = 'meta'
if parent = at_css('#parent-class-section')
meta << %(<dt>Parent:</dt><dd class="meta-parent">#{parent.at_css('.link').inner_html.strip}</dd>)
parent = at_css('#parent-class-section')
if parent && link = parent.at_css('.link')
meta << %(<dt>Parent:</dt><dd class="meta-parent">#{link.inner_html.strip}</dd>)
elsif parent && link = parent.at_css('a')
meta << %(<dt>Parent:</dt><dd class="meta-parent">#{link.to_html}</dd>)
end
if includes = at_css('#includes-section')

@ -63,12 +63,16 @@ module Docs
/\AXMP/]
options[:attribution] = <<-HTML
Ruby Core &copy; 1993&ndash;2022 Yukihiro Matsumoto<br>
Ruby Core &copy; 1993&ndash;2024 Yukihiro Matsumoto<br>
Licensed under the Ruby License.<br>
Ruby Standard Library &copy; contributors<br>
Licensed under their own licenses.
HTML
version '3.4' do
self.release = '3.4.1'
end
version '3.3' do
self.release = '3.3.0'
end

Loading…
Cancel
Save