|
|
|
@ -2,7 +2,8 @@ module Docs
|
|
|
|
|
class Numpy
|
|
|
|
|
class CleanHtmlFilter < Filter
|
|
|
|
|
def call
|
|
|
|
|
at_css('#spc-section-body, main > div')
|
|
|
|
|
css('.sphinx-bs.container.pb-4.docutils').remove if root_page?
|
|
|
|
|
at_css('main > div > section', '#spc-section-body, main > div')
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|