Sfoglia il codice sorgente

Update HAProxy documentation (3.0.0)

Fixes #2332.
Simon Legner 1 anno fa
parent
commit
5a6f0ad16c
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. 6 1
      lib/docs/scrapers/haproxy.rb

+ 6 - 1
lib/docs/scrapers/haproxy.rb

@@ -16,10 +16,15 @@ module Docs
     options[:follow_links] = false
 
     options[:attribution] = <<-HTML
-      &copy; 2023 Willy Tarreau, HAProxy contributors<br>
+      &copy; 2024 Willy Tarreau, HAProxy contributors<br>
       Licensed under the GNU General Public License version 2.
     HTML
 
+    version '3.0' do
+      self.release = '3.0.0'
+      self.base_url = "https://docs.haproxy.org/#{self.version}/"
+    end
+
     version '2.9' do
       self.release = '2.9.0'
       self.base_url = "https://docs.haproxy.org/#{self.version}/"