Pārlūkot izejas kodu

Update Varnish documentation (7.4)

Simon Legner 2 gadi atpakaļ
vecāks
revīzija
19445c34fe
1 mainītis faili ar 2 papildinājumiem un 7 dzēšanām
  1. 2 7
      lib/docs/scrapers/varnish.rb

+ 2 - 7
lib/docs/scrapers/varnish.rb

@@ -9,17 +9,12 @@ module Docs
       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 &copy; 2006 Verdens Gang AS<br>
       Copyright &copy; 2006&ndash;2020 Varnish Software AS<br>
@@ -27,8 +22,8 @@ module Docs
     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)