Skip to content

Commit

Permalink
Move arguments to data structure
Browse files Browse the repository at this point in the history
  • Loading branch information
markdumay committed Dec 30, 2023
1 parent 2a41ddb commit 57f5052
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions content/en/docs/latest/components/release.md
@@ -1,7 +1,7 @@
---
author: Mark Dumay
title: Release
date: 2023-08-10
date: 2023-12-30
description: Use the release shortcode to indicate the availability of a specific feature in a tagged release.
layout: docs
icon: fas code-pull-request
Expand All @@ -24,18 +24,7 @@ Since Hinode `v0.14.1` you can indicate the availability of a specific feature.

The shortcode supports the following arguments:

<!-- markdownlint-disable MD037 -->
{{< table >}}
| Argument | Required | Description |
|-------------|----------|-------------|
| version | Yes | Required version string, expects {{</* link semver >}}semver notation{{< /link */>}} with a "v" prefix. |
| state | No | Optional state, either "new" (default) or "deprecated". |
| short | No | Optional flag to indicate the release button should use short notation. |
| size | No | Optional size of the button, either "sm", "md" (default), or "lg". |
| inline | No | If set, renders the release button inline (defaults to false). |
| class | No | Optional class attribute of the button element. |
{{< /table >}}
<!-- markdownlint-enable MD037 -->
{{< args structure="release" group="shortcode" >}}

## Site configuration

Expand Down

0 comments on commit 57f5052

Please sign in to comment.