fastapi: remove sponsors

pull/1834/head
Simon Legner 2 years ago
parent 06bcaa05e4
commit 3f2cee980c

@ -3,8 +3,10 @@ module Docs
class CleanHtmlFilter < Filter class CleanHtmlFilter < Filter
def call def call
doc.css('.headerlink').each do |node| doc.css('.headerlink').remove
node.remove
if root_page?
doc.css('#sponsors ~ p', '#sponsors').remove
end end
doc.css('.tabbed-set').each do |node| doc.css('.tabbed-set').each do |node|

Loading…
Cancel
Save