Remove notebook-buttons img and broken link

This commit is contained in:
Lukas Geiger 2020-02-25 13:32:49 +00:00
parent c7a2a37280
commit dd6586de6a

View file

@ -4,7 +4,7 @@ module Docs
def call
@doc = at_css('.devsite-article-inner')
css('hr', '.devsite-nav', '.devsite-content-footer', '.devsite-article-body > br', '.devsite-article-meta', 'devsite-nav-buttons', '.devsite-banner', '.tfo-api img').remove
css('hr', '.devsite-nav', '.devsite-content-footer', '.devsite-article-body > br', '.devsite-article-meta', 'devsite-nav-buttons', '.devsite-banner', '.tfo-api img', '.tfo-notebook-buttons img', '.tfo-notebook-buttons>:first-child').remove
css('aside.note').each do |node|
node.name = 'blockquote'