Update PostgreSQL documentation (9.6.2, 9.5.6, 9.4.11)

This commit is contained in:
Thibaut Courouble 2017-03-25 13:07:47 -04:00
parent ff359bdbb2
commit 51c5ab832a
3 changed files with 11 additions and 7 deletions

View file

@ -456,9 +456,9 @@ credits = [
'https://creativecommons.org/licenses/by/3.0/' 'https://creativecommons.org/licenses/by/3.0/'
], [ ], [
'PostgreSQL', 'PostgreSQL',
'1996-2016 The PostgreSQL Global Development Group<br>&copy; 1994 The Regents of the University of California', '1996-2017 The PostgreSQL Global Development Group<br>&copy; 1994 The Regents of the University of California',
'PostgreSQL', 'PostgreSQL',
'http://www.postgresql.org/about/licence/' 'https://www.postgresql.org/about/licence/'
], [ ], [
'Python', 'Python',
'2001-2017 Python Software Foundation<br>Python is a trademark of the Python Software Foundation.', '2001-2017 Python Software Foundation<br>Python is a trademark of the Python Software Foundation.',

View file

@ -1,7 +1,7 @@
._postgres { ._postgres {
padding-left: 1rem; padding-left: 1rem;
h1, h1 ~ p, h2 { margin-left: -1rem; } h1, h1 ~ p, h1 ~ pre, h1 ~ blockquote, h2, .NAVFOOTER { margin-left: -1rem; }
h2 { @extend %block-heading; } h2 { @extend %block-heading; }
.VARIABLELIST dt { @extend %block-label, %label-blue; } .VARIABLELIST dt { @extend %block-label, %label-blue; }

View file

@ -6,6 +6,10 @@ module Docs
self.type = 'postgres' self.type = 'postgres'
self.root_path = 'reference.html' self.root_path = 'reference.html'
self.initial_paths = %w(sql.html admin.html internals.html appendixes.html tutorial.html) self.initial_paths = %w(sql.html admin.html internals.html appendixes.html tutorial.html)
self.links = {
home: 'https://www.postgresql.org/',
code: 'https://git.postgresql.org/gitweb/?p=postgresql.git'
}
html_filters.insert_before 'normalize_urls', 'postgresql/extract_metadata' html_filters.insert_before 'normalize_urls', 'postgresql/extract_metadata'
html_filters.push 'postgresql/clean_html', 'postgresql/entries', 'title' html_filters.push 'postgresql/clean_html', 'postgresql/entries', 'title'
@ -47,22 +51,22 @@ module Docs
/\Aunsupported-features/ ] /\Aunsupported-features/ ]
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 1996&ndash;2016 The PostgreSQL Global Development Group<br> &copy; 1996&ndash;2017 The PostgreSQL Global Development Group<br>
Licensed under the PostgreSQL License. Licensed under the PostgreSQL License.
HTML HTML
version '9.6' do version '9.6' do
self.release = '9.6.0' self.release = '9.6.2'
self.base_url = 'https://www.postgresql.org/docs/9.6/static/' self.base_url = 'https://www.postgresql.org/docs/9.6/static/'
end end
version '9.5' do version '9.5' do
self.release = '9.5.4' self.release = '9.5.6'
self.base_url = 'https://www.postgresql.org/docs/9.5/static/' self.base_url = 'https://www.postgresql.org/docs/9.5/static/'
end end
version '9.4' do version '9.4' do
self.release = '9.4.9' self.release = '9.4.11'
self.base_url = 'https://www.postgresql.org/docs/9.4/static/' self.base_url = 'https://www.postgresql.org/docs/9.4/static/'
end end
end end