Skip to content

Commit 58446f2

Browse files
committed
Update HAProxy documentation (2.8.0)
1 parent 150f24b commit 58446f2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

lib/docs/filters/haproxy/entries.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def additional_entries
3434
node.css('.keyword').each do |n|
3535
name = n.at_css('b').content
3636
id = n['id']
37-
entries << [name, URI.escape(id), REPLACE_TYPE[type] || type]
37+
entries << [name, id, REPLACE_TYPE[type] || type]
3838
end
3939
end
4040
end

lib/docs/scrapers/haproxy.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,15 @@ class Haproxy < UrlScraper
1616
options[:follow_links] = false
1717

1818
options[:attribution] = <<-HTML
19-
&copy; 2022 Willy Tarreau, HAProxy contributors<br>
19+
&copy; 2023 Willy Tarreau, HAProxy contributors<br>
2020
Licensed under the GNU General Public License version 2.
2121
HTML
2222

23+
version '2.8' do
24+
self.release = '2.8.0'
25+
self.base_url = "https://docs.haproxy.org/#{self.version}/"
26+
end
27+
2328
version '2.7' do
2429
self.release = '2.7.0'
2530
self.base_url = "https://docs.haproxy.org/#{self.version}/"

0 commit comments

Comments
 (0)