From e0e7b9efe97e4ee3e7c102e7f1554bb15ee4b973 Mon Sep 17 00:00:00 2001 From: etefera <31711490+etefera@users.noreply.github.com> Date: Tue, 19 Jan 2021 10:03:55 -0800 Subject: [PATCH] Docs: Add swagger to kptfile markdown. (#1359) * Add swagger to kptfile markdown. * Move swagger to partial. --- site/content/en/api-reference/kptfile/_index.md | 2 +- site/layouts/partials/hooks/head-end.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/site/content/en/api-reference/kptfile/_index.md b/site/content/en/api-reference/kptfile/_index.md index c91d07189d..f656a2c3ae 100644 --- a/site/content/en/api-reference/kptfile/_index.md +++ b/site/content/en/api-reference/kptfile/_index.md @@ -6,4 +6,4 @@ type: swagger description: > Reference for the Kptfile schema --- -{{< swaggerui src="/openapi/kptfile.yaml" >}} +{{< swaggerui src="/kpt/openapi/kptfile.yaml" >}} diff --git a/site/layouts/partials/hooks/head-end.html b/site/layouts/partials/hooks/head-end.html index 498a5c01c1..5fdcaefed5 100644 --- a/site/layouts/partials/hooks/head-end.html +++ b/site/layouts/partials/hooks/head-end.html @@ -15,3 +15,6 @@ --> + + +