From 22761fe62041bb203f6ccda5f7b8413569d16c96 Mon Sep 17 00:00:00 2001 From: Nate W <4453979+nate-double-u@users.noreply.github.com> Date: Tue, 16 Mar 2021 11:01:46 -0700 Subject: [PATCH] Adding a versionintroduced variable to connector pages, updating single.html to show it. Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com> --- content/docs/connectors/atlassian-crowd.md | 1 + content/docs/connectors/authproxy.md | 1 + content/docs/connectors/bitbucketcloud.md | 1 + content/docs/connectors/gitea.md | 1 + content/docs/connectors/github.md | 1 + content/docs/connectors/gitlab.md | 1 + content/docs/connectors/google.md | 1 + content/docs/connectors/kubelogin-activedirectory.md | 1 + content/docs/connectors/ldap.md | 1 + content/docs/connectors/linkedin.md | 1 + content/docs/connectors/microsoft.md | 1 + content/docs/connectors/oidc.md | 1 + content/docs/connectors/openshift.md | 1 + content/docs/connectors/saml.md | 1 + layouts/_default/single.html | 5 +++++ 15 files changed, 19 insertions(+) diff --git a/content/docs/connectors/atlassian-crowd.md b/content/docs/connectors/atlassian-crowd.md index d1b4dc3..6c02f3b 100644 --- a/content/docs/connectors/atlassian-crowd.md +++ b/content/docs/connectors/atlassian-crowd.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2120 +versionintroduced: "v0.0.0" --- ## Overview diff --git a/content/docs/connectors/authproxy.md b/content/docs/connectors/authproxy.md index 666b7c3..b194f95 100644 --- a/content/docs/connectors/authproxy.md +++ b/content/docs/connectors/authproxy.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2090 +versionintroduced: "v0.0.0" --- NOTE: This connector is experimental and may change in the future. diff --git a/content/docs/connectors/bitbucketcloud.md b/content/docs/connectors/bitbucketcloud.md index 40332b1..c6465b2 100644 --- a/content/docs/connectors/bitbucketcloud.md +++ b/content/docs/connectors/bitbucketcloud.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2100 +versionintroduced: "v0.0.0" --- ## Overview diff --git a/content/docs/connectors/gitea.md b/content/docs/connectors/gitea.md index 2df2538..aa6daf6 100644 --- a/content/docs/connectors/gitea.md +++ b/content/docs/connectors/gitea.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2130 +versionintroduced: "v0.0.0" --- ## Overview diff --git a/content/docs/connectors/github.md b/content/docs/connectors/github.md index b7e2be4..8f0afc7 100644 --- a/content/docs/connectors/github.md +++ b/content/docs/connectors/github.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2020 +versionintroduced: "v0.0.0" --- ## Overview diff --git a/content/docs/connectors/gitlab.md b/content/docs/connectors/gitlab.md index 0149401..c535b56 100644 --- a/content/docs/connectors/gitlab.md +++ b/content/docs/connectors/gitlab.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2040 +versionintroduced: "v0.0.0" --- ## Overview diff --git a/content/docs/connectors/google.md b/content/docs/connectors/google.md index 50a7d25..64ad3a8 100644 --- a/content/docs/connectors/google.md +++ b/content/docs/connectors/google.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2060 +versionintroduced: "v0.0.0" --- ## Overview diff --git a/content/docs/connectors/kubelogin-activedirectory.md b/content/docs/connectors/kubelogin-activedirectory.md index a2e1875..c7424e9 100644 --- a/content/docs/connectors/kubelogin-activedirectory.md +++ b/content/docs/connectors/kubelogin-activedirectory.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2140 +versionintroduced: "v0.0.0" --- ## Overview diff --git a/content/docs/connectors/ldap.md b/content/docs/connectors/ldap.md index 0fc273f..ef35766 100644 --- a/content/docs/connectors/ldap.md +++ b/content/docs/connectors/ldap.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2010 +versionintroduced: "v0.0.0" --- ## Overview diff --git a/content/docs/connectors/linkedin.md b/content/docs/connectors/linkedin.md index c24e74b..0d4eea7 100644 --- a/content/docs/connectors/linkedin.md +++ b/content/docs/connectors/linkedin.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2070 +versionintroduced: "v0.0.0" --- ## Overview diff --git a/content/docs/connectors/microsoft.md b/content/docs/connectors/microsoft.md index 2e779f1..a9ab869 100644 --- a/content/docs/connectors/microsoft.md +++ b/content/docs/connectors/microsoft.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2080 +versionintroduced: "v0.0.0" --- ## Overview diff --git a/content/docs/connectors/oidc.md b/content/docs/connectors/oidc.md index c6ed7f5..015c267 100644 --- a/content/docs/connectors/oidc.md +++ b/content/docs/connectors/oidc.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2050 +versionintroduced: "v0.0.0" --- ## Overview diff --git a/content/docs/connectors/openshift.md b/content/docs/connectors/openshift.md index b54077c..e304211 100644 --- a/content/docs/connectors/openshift.md +++ b/content/docs/connectors/openshift.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2110 +versionintroduced: "v0.0.0" --- ## Overview diff --git a/content/docs/connectors/saml.md b/content/docs/connectors/saml.md index 95b36b7..96607f4 100644 --- a/content/docs/connectors/saml.md +++ b/content/docs/connectors/saml.md @@ -6,6 +6,7 @@ date: 2020-09-30 draft: false toc: true weight: 2030 +versionintroduced: "v0.0.0" --- ## WARNING diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 045906a..3f445ed 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -14,6 +14,11 @@

{{ .Page.Title | markdownify }}

{{ .Page.Description | markdownify }}

+ {{ if ((isset .Params "versionintroduced") | and (ne .Params.versionintroduced "")) }} +
+ Since: {{ .Params.versionintroduced }} +
+ {{ end }} {{ partial "docs/content.html" . }}