From 591c30014a2f1e28455552f61ded6b415be06aa7 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sun, 23 May 2021 20:34:54 +0200 Subject: [PATCH] Update HAProxy documentation (2.4.0) --- assets/javascripts/templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/haproxy.rb | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index b86236b0..d60e8d1d 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/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' ], [ diff --git a/lib/docs/scrapers/haproxy.rb b/lib/docs/scrapers/haproxy.rb index bc536d36..6c354787 100644 --- a/lib/docs/scrapers/haproxy.rb +++ b/lib/docs/scrapers/haproxy.rb @@ -16,10 +16,15 @@ module Docs options[:follow_links] = false options[:attribution] = <<-HTML - © 2020 Willy Tarreau, HAProxy contributors
+ © 2021 Willy Tarreau, HAProxy contributors
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}/"