Skip to content

Commit 1547d0f

Browse files
committed
use antrun copy
1 parent bf29dca commit 1547d0f

File tree

3 files changed

+2271
-3
lines changed

3 files changed

+2271
-3
lines changed

docs/layouts/partials/docs/inject/head.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,5 @@
2424
<script src="{{.Site.BaseURL}}/js/flink.js"></script>
2525
<!-- Only takes effect when the `redocPage` variable is true. -->
2626
{{ if .Params.redocPage }}
27-
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval'; default-src 'self' data: blob: 'unsafe-inline' https://raw.githubusercontent.com/apache/paimon/master/paimon-open-api/;">
2827
<script src="{{.Site.BaseURL}}/js/redoc.standalone.js"></script>
2928
{{ end }}

paimon-docs/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ under the License.
160160
<arg value="${rootDir}"/>
161161
</java>
162162
<mkdir dir="${project.basedir}/../${static.docs.dir}"/>
163-
<move todir="${project.basedir}/../${static.docs.dir}">
163+
<copy todir="${project.basedir}/../${static.docs.dir}">
164164
<fileset dir="${project.basedir}/../paimon-open-api">
165165
<include name="rest-catalog-open-api.yaml"/>
166166
</fileset>
167-
</move>
167+
</copy>
168168
</target>
169169
</configuration>
170170
</execution>

0 commit comments

Comments
 (0)