This is an automated email from the ASF dual-hosted git repository. chesnay pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push: new bb6e01b181e [FLINK-29979][docs] Only render connector artifact for stable releases bb6e01b181e is described below commit bb6e01b181e45d2ea3944910eb06ef0fd95c0540 Author: Chesnay Schepler <ches...@apache.org> AuthorDate: Thu Nov 10 12:04:51 2022 +0100 [FLINK-29979][docs] Only render connector artifact for stable releases --- docs/layouts/shortcodes/connector_artifact.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/layouts/shortcodes/connector_artifact.html b/docs/layouts/shortcodes/connector_artifact.html index 80f990bd8ba..94d05361a11 100644 --- a/docs/layouts/shortcodes/connector_artifact.html +++ b/docs/layouts/shortcodes/connector_artifact.html @@ -28,6 +28,7 @@ under the License. {{ $hash := md5 now }} +{{ if $.Site.Params.IsStable }} <div id="{{ $hash }}" onclick="selectTextAndCopy('{{ $hash }}')"class="highlight"><pre class="chroma"><code class="language-xml" data-lang="xml"><span class="nt"><dependency></span> <span class="nt"><groupId></span>org.apache.flink<span class="nt"></groupId></span> <span class="nt"><artifactId></span>{{- $artifactId -}}<span class="nt"></artifactId></span> @@ -35,4 +36,7 @@ under the License. <span class="nt"></dependency></span></code></pre></div> <div class="book-hint info" style="text-align:center;display:none" copyable="flink-module" copyattribute="{{ $hash }}"> Copied to clipboard! -</div> +</div> +{{ else }} +Only available for stable versions. +{{ end }}