Skip to content

Commit 4b56c89

Browse files
committed
update
1 parent bf29dca commit 4b56c89

File tree

5 files changed

+2273
-5
lines changed

5 files changed

+2273
-5
lines changed

docs/content/concepts/rest/rest-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ under the License.
2424
-->
2525

2626
<body>
27-
{{< redoc >}}
27+
{{< redoc_rest_catalog_api >}}
2828
</body>

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 }}

docs/layouts/shortcodes/redoc.html renamed to docs/layouts/shortcodes/redoc_rest_catalog_api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
specific language governing permissions and limitations
1717
under the License.
1818
*/}}{{/*
19-
Shortcode for redoc
19+
Shortcode for RestCatalog open-api rendered by Redoc
2020
*/}}
2121
<div id="redoc-container"></div>
2222
<script>

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)