소스 검색

Update HAProxy documentation (2.4.0)

Simon Legner 4 년 전
부모
커밋
591c30014a
2개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 6 1
      lib/docs/scrapers/haproxy.rb

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -368,7 +368,7 @@ credits = [
     'https://raw.githubusercontent.com/wycats/handlebars.js/master/LICENSE'
   ], [
     'HAProxy',
-    '2020 Willy Tarreau, HAProxy contributors',
+    '2021 Willy Tarreau, HAProxy contributors',
     'GPLv2',
     'https://raw.githubusercontent.com/haproxy/haproxy/master/LICENSE'
   ], [

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

@@ -16,10 +16,15 @@ module Docs
     options[:follow_links] = false
 
     options[:attribution] = <<-HTML
-      &copy; 2020 Willy Tarreau, HAProxy contributors<br>
+      &copy; 2021 Willy Tarreau, HAProxy contributors<br>
       Licensed under the GNU General Public License version 2.
     HTML
 
+    version '2.4' do
+      self.release = '2.4.0'
+      self.base_url = "https://cbonte.github.io/haproxy-dconv/#{self.version}/"
+    end
+
     version '2.3' do
       self.release = '2.3.0'
       self.base_url = "http://cbonte.github.io/haproxy-dconv/#{self.version}/"