From e23e6e20ba5c3caf55e6022aa116f1f19ca48f9f Mon Sep 17 00:00:00 2001 From: Phillip Hoff Date: Thu, 26 Jan 2023 14:12:30 -0800 Subject: [PATCH] Add "preview" banner. Signed-off-by: Phillip Hoff --- .../pluggable-components-sdks/_index.md | 2 +- daprdocs/layouts/partials/version-banner.html | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/daprdocs/content/en/developing-applications/develop-components/pluggable-components/pluggable-components-sdks/_index.md b/daprdocs/content/en/developing-applications/develop-components/pluggable-components/pluggable-components-sdks/_index.md index c0ca51289..bd04b78f2 100644 --- a/daprdocs/content/en/developing-applications/develop-components/pluggable-components/pluggable-components-sdks/_index.md +++ b/daprdocs/content/en/developing-applications/develop-components/pluggable-components/pluggable-components-sdks/_index.md @@ -5,11 +5,11 @@ linkTitle: "SDKs" weight: 2000 description: "Develop pluggable components in your favorite language" no_list: true +is_preview: true --- The Dapr SDKs are the easiest way for you to create Dapr Pluggable Components. Choose your favorite language and get up and running with Dapr in minutes. - ## Pluggable Components SDKs | Language | Status | diff --git a/daprdocs/layouts/partials/version-banner.html b/daprdocs/layouts/partials/version-banner.html index 09b705b07..cda48b47c 100644 --- a/daprdocs/layouts/partials/version-banner.html +++ b/daprdocs/layouts/partials/version-banner.html @@ -13,3 +13,12 @@ {{ end }} {{ end }} + + + {{ if .Params.is_preview }} + {{ $color := "primary" }} +
+

This is documentation about a preview version of Dapr features.

+
+{{ end }}