diff --git a/lib/docs/filters/erlang/clean_html.rb b/lib/docs/filters/erlang/clean_html.rb index 5b54667d..72169d67 100644 --- a/lib/docs/filters/erlang/clean_html.rb +++ b/lib/docs/filters/erlang/clean_html.rb @@ -2,11 +2,12 @@ module Docs class Erlang class CleanHtmlFilter < Filter def call - @doc = at_css('#content .innertube', '#content') + @doc = at_css('#content .innertube:only-child', '#content') # frontpage css('center:last-child').remove # copyright + css('.footer').remove # copyright css('center', '.example').each do |node| node.before(node.children).remove diff --git a/lib/docs/scrapers/erlang.rb b/lib/docs/scrapers/erlang.rb index 0330111a..90794603 100644 --- a/lib/docs/scrapers/erlang.rb +++ b/lib/docs/scrapers/erlang.rb @@ -36,12 +36,12 @@ module Docs ] options[:attribution] = <<-HTML - © 2010–2022 Ericsson AB
+ © 2010–2023 Ericsson AB
Licensed under the Apache License, Version 2.0. HTML version '25' do - self.release = '25.1' + self.release = '25.2.2' end version '24' do