Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Feature State shortcode #126

Closed
mattmoor opened this issue Jan 30, 2020 · 3 comments · Fixed by #136
Closed

Feature State shortcode #126

mattmoor opened this issue Jan 30, 2020 · 3 comments · Fixed by #136
Assignees

Comments

@mattmoor
Copy link
Member

It would be useful to have a featurestate shortcode akin to: https://kubernetes.io/docs/contribute/style/hugo-shortcodes/#feature-state-code

@mattmoor
Copy link
Member Author

For a good example of this in action see here: https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/

@mattmoor
Copy link
Member Author

mattmoor commented Feb 7, 2020

I have a PoC that allows us to add static snippets (I think a popover vastly exceeds my skills), it supports short and long form both visible here:
image

@mattmoor
Copy link
Member Author

mattmoor commented Feb 8, 2020

/assign

mattmoor added a commit to mattmoor/website that referenced this issue Feb 8, 2020
Usage:
```
{{< feature-state version="0.5" state="beta" >}}
```

Fixes: knative#126
mattmoor added a commit to mattmoor/website that referenced this issue Feb 8, 2020
Usage:
```
{{< feature-state version="0.5" state="beta" >}}
```

Fixes: knative#126
knative-prow-robot pushed a commit that referenced this issue Feb 12, 2020
* Add support for a feature-state shortcode

Usage:
```
{{< feature-state version="0.5" state="beta" >}}
```

Fixes: #126

* Add usage information to feature-state shortcode.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant