blob: 58ace9f31acc11b7cca9c4b37884e120a7527ec1 [file] [log] [blame]
{{/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/}}{{/*
Generates the Download page.
*/}}
{{ $downloadType := (.Get 0) }}
{{ $data := index .Site.Data $downloadType }}
{{ $order := (cond (eq $downloadType "flink_connectors") "asc" "desc") }}
{{ range sort $data "name" $order }}
### {{ .name }}
{{ if ne .binary_release_url nil }}
[{{ .name }}]({{ .binary_release_url }}) [(asc]({{ .binary_release_asc_url }}), [sha512)]({{ .binary_release_sha512_url }})
{{ end }}
[{{ .name }} Source Release]({{ .source_release_url }}) [(asc]({{ .source_release_asc_url }}), [sha512)]({{ .source_release_sha512_url }})
{{ if ne .python_source_release_url nil }}
[{{ .name }} Python Source Release]({{ .python_source_release_url }}) [(asc]({{ .python_source_release_asc_url }}), [sha512)]({{ .python_source_release_sha512_url }})
{{ end }}
{{ if ne .release_notes_url nil }}
#### Release Notes
Please have a look at the [Release Notes for {{ .name }}]({{ .release_notes_url }}) if you plan to upgrade your Flink setup from a previous version.
{{end}}
{{ if ne .compatibility nil }}
This component is compatible with Apache Flink version(s):
{{ range .compatibility }}
* {{ . }}
{{ end }}
{{end}}
{{else}}
{{ end }}