mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 10:50:24 +00:00
swagger: completely removing artifacts #847
This commit is contained in:
parent
eceebaf8df
commit
2370df7a1d
4 changed files with 10 additions and 16 deletions
|
@ -1,7 +1,8 @@
|
|||
---
|
||||
description: "UI for your OpenAPI / Swagger specifications"
|
||||
title: "OpenAPI"
|
||||
---
|
||||
+++
|
||||
aliases = "/shortcodes/swagger"
|
||||
description = "UI for your OpenAPI / Swagger specifications"
|
||||
title = "OpenAPI"
|
||||
+++
|
||||
|
||||
The `openapi` shortcode uses the [Swagger UI](https://github.com/swagger-api/swagger-ui) library to display your OpenAPI / Swagger specifications.
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
description: "Adds UI fer yer OpenAPI / Swaggerrr Specificat'ns"
|
||||
title: "OpenAPI"
|
||||
---
|
||||
+++
|
||||
aliases = "/pir/shortcodes/swagger"
|
||||
description = "Adds UI fer yer OpenAPI / Swaggerrr Specificat'ns"
|
||||
title = "OpenAPI"
|
||||
+++
|
||||
{{< piratify >}}
|
|
@ -1,2 +0,0 @@
|
|||
{{- $page := .page }}
|
||||
{{- warnf "%q: UNSUPPORTED shortcode `swagger` found, use `openapi` instead; see https://mcshelby.github.io/hugo-theme-relearn/basics/migration#600" $page.File.Filename }}
|
|
@ -1,6 +0,0 @@
|
|||
{{- $id := "" }}
|
||||
{{- partial "shortcodes/swagger.html" (dict
|
||||
"page" .Page
|
||||
"src" (.Get "src")
|
||||
"id" $id
|
||||
) }}
|
Loading…
Reference in a new issue