Rustdoc scraper: add rule to remove "Run" links

All over the Rust docs, there's this problem:

![screenshot](http://i.imgur.com/psGETj9.png)

It obviously comes from the live-test "Run" button in the original docs:

![screenshot](http://i.imgur.com/srIMvyF.png)

Hence, this commit filters out the `test-arrow` links to fix the problem.
pull/556/head
Maxim Ivanov 8 years ago committed by GitHub
parent 193db39f9b
commit d12d8df22a

@ -11,6 +11,7 @@ module Docs
end
css('.rusttest', 'hr').remove
css('pre > .test-arrow').remove
css('.docblock > h1').each { |node| node.name = 'h4' }
css('h2.section-header').each { |node| node.name = 'h3' }

Loading…
Cancel
Save