History

Update Varnish documentation (7.4)

Simon Legner committed 3 years ago

Commit 19445c31 parent 06c514f1 file · +2 −7Browse files

Unified · Split

lib/docs/scrapers/varnish.rb+2−7
@@ -9,17 +9,12 @@ module Docs · 8 unmodified lines
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>
@@ -27,8 +22,8 @@ module Docs · 1 unmodified line
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)