Update postgresql.rb

Add Postgres 16 and current. Update other version and mention EOL ones.
pull/2062/head
Adrien nayrat 1 year ago committed by GitHub
parent 3b433a29f0
commit df886bc88e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -55,52 +55,62 @@ module Docs
Licensed under the PostgreSQL License. Licensed under the PostgreSQL License.
HTML HTML
version 'Latest' do
self.release = '16.0'
self.base_url = "https://www.postgresql.org/docs/latest/"
end
version '16' do
self.release = '16.0'
self.base_url = "https://www.postgresql.org/docs/#{version}/"
end
version '15' do version '15' do
self.release = '15.3' self.release = '15.4'
self.base_url = "https://www.postgresql.org/docs/#{version}/" self.base_url = "https://www.postgresql.org/docs/#{version}/"
end end
version '14' do version '14' do
self.release = '14.5' self.release = '14.9'
self.base_url = "https://www.postgresql.org/docs/#{version}/" self.base_url = "https://www.postgresql.org/docs/#{version}/"
end end
version '13' do version '13' do
self.release = '13.4' self.release = '13.12'
self.base_url = "https://www.postgresql.org/docs/#{version}/" self.base_url = "https://www.postgresql.org/docs/#{version}/"
end end
version '12' do version '12' do
self.release = '12.1' self.release = '12.16'
self.base_url = "https://www.postgresql.org/docs/#{version}/" self.base_url = "https://www.postgresql.org/docs/#{version}/"
end end
version '11' do version '11' do
self.release = '11.6' self.release = '11.21'
self.base_url = "https://www.postgresql.org/docs/#{version}/" self.base_url = "https://www.postgresql.org/docs/#{version}/"
end end
version '10' do version '10' do
self.release = '10.11' self.release = '10.23 (EOL)'
self.base_url = "https://www.postgresql.org/docs/#{version}/" self.base_url = "https://www.postgresql.org/docs/#{version}/"
end end
version '9.6' do version '9.6' do
self.release = '9.6.16' self.release = '9.6.24 (EOL)'
self.base_url = "https://www.postgresql.org/docs/#{version}/" self.base_url = "https://www.postgresql.org/docs/#{version}/"
html_filters.insert_before 'postgresql/extract_metadata', 'postgresql/normalize_class_names' html_filters.insert_before 'postgresql/extract_metadata', 'postgresql/normalize_class_names'
end end
version '9.5' do version '9.5' do
self.release = '9.5.20' self.release = '9.5.25 (EOL)'
self.base_url = "https://www.postgresql.org/docs/#{version}/" self.base_url = "https://www.postgresql.org/docs/#{version}/"
html_filters.insert_before 'postgresql/extract_metadata', 'postgresql/normalize_class_names' html_filters.insert_before 'postgresql/extract_metadata', 'postgresql/normalize_class_names'
end end
version '9.4' do version '9.4' do
self.release = '9.4.25' self.release = '9.4.26 (EOL)'
self.base_url = "https://www.postgresql.org/docs/#{version}/" self.base_url = "https://www.postgresql.org/docs/#{version}/"
html_filters.insert_before 'postgresql/extract_metadata', 'postgresql/normalize_class_names' html_filters.insert_before 'postgresql/extract_metadata', 'postgresql/normalize_class_names'

Loading…
Cancel
Save