This is an automated email from the ASF dual-hosted git repository. chesnay pushed a commit to branch release-1.16 in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.16 by this push: new c2fe933e8a2 [FLINK-29958][docs] Add connector_artifact shortcode c2fe933e8a2 is described below commit c2fe933e8a23af5d49a0df4110ccc6809b66a49d Author: Chesnay Schepler <ches...@apache.org> AuthorDate: Wed Nov 9 14:40:32 2022 +0100 [FLINK-29958][docs] Add connector_artifact shortcode --- docs/layouts/shortcodes/connector_artifact.html | 38 +++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/docs/layouts/shortcodes/connector_artifact.html b/docs/layouts/shortcodes/connector_artifact.html new file mode 100644 index 00000000000..c123404fb8c --- /dev/null +++ b/docs/layouts/shortcodes/connector_artifact.html @@ -0,0 +1,38 @@ +{{/* +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 an XML snippet for the maven artifact. + IMPORTANT: the whitespace is relevant. Do not change without looking at the + rendered documentation. +*/}} +{{ $artifactId := .Get 0 }} +{{ $version := .Get 1 }} + +{{ $path := .Page.Path }} + +{{ $hash := md5 now }} + +<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> + <span class="nt"><version></span>{{- $version -}}<span class="nt"></version></span> +<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>