Skip to content

Commit

Permalink
Docs: Add swagger to kptfile markdown. (kptdev#1359)
Browse files Browse the repository at this point in the history
* Add swagger to kptfile markdown.

* Move swagger to partial.
  • Loading branch information
etefera authored Jan 19, 2021
1 parent 1391548 commit e0e7b9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/en/api-reference/kptfile/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ type: swagger
description: >
Reference for the Kptfile schema
---
{{< swaggerui src="/openapi/kptfile.yaml" >}}
{{< swaggerui src="/kpt/openapi/kptfile.yaml" >}}
3 changes: 3 additions & 0 deletions site/layouts/partials/hooks/head-end.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
-->

<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}/css/asciinema-player.css" />
<script src="/kpt/js/swagger-ui-bundle.js"></script>
<script src="/kpt/js/swagger-ui-standalone-preset.js"></script>
<link rel="stylesheet" type="text/css" href="/kpt/css/swagger-ui.css">

0 comments on commit e0e7b9e

Please sign in to comment.