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