Unified · Split
| @@ -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] = <<-HTML | 18 | options[:attribution] = <<-HTML |
| 24 | Copyright © 2006 Verdens Gang AS<br> | 19 | Copyright © 2006 Verdens Gang AS<br> |
| 25 | Copyright © 2006–2020 Varnish Software AS<br> | 20 | Copyright © 2006–2020 Varnish Software AS<br> |
| @@ -27,8 +22,8 @@ module Docs · 1 unmodified line | |||
| 27 | HTML | 22 | HTML |
| 28 | 23 | ||
| 29 | version do | 24 | 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 | end | 27 | end |
| 33 | 28 | ||
| 34 | def get_latest_version(opts) | 29 | def get_latest_version(opts) |