diff --git a/lib/docs/scrapers/varnish.rb b/lib/docs/scrapers/varnish.rb index 13564955..24e9cf7c 100644 --- a/lib/docs/scrapers/varnish.rb +++ b/lib/docs/scrapers/varnish.rb @@ -9,17 +9,12 @@ module Docs code: 'https://github.com/varnishcache/varnish-cache' } - html_filters.push 'varnish/entries', 'sphinx/clean_html' options[:container] = '.body > section' - - options[:skip] = %w(genindex.html search.html) - options[:skip_patterns] = [/phk/, /glossary/, /whats-new/] - options[:attribution] = <<-HTML Copyright © 2006 Verdens Gang AS
Copyright © 2006–2020 Varnish Software AS
@@ -27,8 +22,8 @@ module Docs HTML version do - self.release = '7.3.0' - self.base_url = 'https://varnish-cache.org/docs/7.3/' + self.release = '7.4' + self.base_url = "https://varnish-cache.org/docs/#{release}/" end def get_latest_version(opts)