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
9 code: 'https://github.com/varnishcache/varnish-cache'9 code: 'https://github.com/varnishcache/varnish-cache'
10 }10 }
11 11
12
13 html_filters.push 'varnish/entries', 'sphinx/clean_html'12 html_filters.push 'varnish/entries', 'sphinx/clean_html'
14 13
15 options[:container] = '.body > section'14 options[:container] = '.body > section'
16
17
18 options[:skip] = %w(genindex.html search.html)15 options[:skip] = %w(genindex.html search.html)
19
20 options[:skip_patterns] = [/phk/, /glossary/, /whats-new/]16 options[:skip_patterns] = [/phk/, /glossary/, /whats-new/]
21 17
22
23 options[:attribution] = <<-HTML18 options[:attribution] = <<-HTML
24 Copyright &copy; 2006 Verdens Gang AS<br>19 Copyright &copy; 2006 Verdens Gang AS<br>
25 Copyright &copy; 2006&ndash;2020 Varnish Software AS<br>20 Copyright &copy; 2006&ndash;2020 Varnish Software AS<br>
@@ -27,8 +22,8 @@ module Docs · 1 unmodified line
27 HTML22 HTML
28 23
29 version do24 version do
30 self.release = '7.3.0'25 self.release = '7.4'
31 self.base_url = 'https://varnish-cache.org/docs/7.3/'26 self.base_url = "https://varnish-cache.org/docs/#{release}/"
32 end27 end
33 28
34 def get_latest_version(opts)29 def get_latest_version(opts)