Merge pull request #1315 from scherepn/codeigniter-fix

Fix Codeigniter scraper
pull/1322/head
Simon Legner 4 years ago committed by GitHub
commit d7ca038961
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,6 +4,7 @@
h4 { font-size: 1em; }
> dl:not(.docutils) > dt { @extend %block-label, %label-blue; }
dd > dl:not(.docutils) > dt { @extend %block-label; }
.class > dt { @extend %block-label, %label-blue; }
dt + dt { margin-top: -.5em; }
.note, .admonition, div.versionadded, div.versionchanged, .deprecated-removed, .deprecated, .topic { @extend %note; }

@ -23,7 +23,7 @@ module Docs
entries = []
css('.class').each do |node|
class_name = node.at_css('dt > .descname').content
class_name = node.at_css('dt > .descname').content.split('\\').last
class_id = node.at_css('dt[id]')['id']
entries << [class_name, class_id]

Loading…
Cancel
Save