Skip to content

Commit 19445c3

Browse files
committed
Update Varnish documentation (7.4)
1 parent 06c514f commit 19445c3

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

lib/docs/scrapers/varnish.rb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,21 @@ class Varnish < UrlScraper
99
code: 'https://github.com/varnishcache/varnish-cache'
1010
}
1111

12-
1312
html_filters.push 'varnish/entries', 'sphinx/clean_html'
1413

1514
options[:container] = '.body > section'
16-
17-
1815
options[:skip] = %w(genindex.html search.html)
19-
2016
options[:skip_patterns] = [/phk/, /glossary/, /whats-new/]
2117

22-
2318
options[:attribution] = <<-HTML
2419
Copyright &copy; 2006 Verdens Gang AS<br>
2520
Copyright &copy; 2006&ndash;2020 Varnish Software AS<br>
2621
Licensed under the BSD-2-Clause License.
2722
HTML
2823

2924
version do
30-
self.release = '7.3.0'
31-
self.base_url = 'https://varnish-cache.org/docs/7.3/'
25+
self.release = '7.4'
26+
self.base_url = "https://varnish-cache.org/docs/#{release}/"
3227
end
3328

3429
def get_latest_version(opts)

0 commit comments

Comments
 (0)