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">&ltdependency&gt</span>
     <span class="nt">&ltgroupId&gt</span>org.apache.flink<span 
class="nt">&lt/groupId&gt</span>
     <span class="nt">&ltartifactId&gt</span>{{- $artifactId -}}<span 
class="nt">&lt/artifactId&gt</span>
@@ -35,4 +36,7 @@ under the License.
 <span class="nt">&lt/dependency&gt</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 }}

Reply via email to