From 19445c34fe1d88d0f4fb3aa6be9255ff4645d738 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Mon, 9 Oct 2023 20:37:45 +0200 Subject: [PATCH] Update Varnish documentation (7.4) --- lib/docs/scrapers/varnish.rb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/docs/scrapers/varnish.rb b/lib/docs/scrapers/varnish.rb index 13564955a0..24e9cf7c37 100644 --- a/lib/docs/scrapers/varnish.rb +++ b/lib/docs/scrapers/varnish.rb @@ -9,17 +9,12 @@ class Varnish < UrlScraper 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 @@ class Varnish < UrlScraper 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)