File tree Expand file tree Collapse file tree 5 files changed +25
-11
lines changed
themes/geekboot/layouts/partials Expand file tree Collapse file tree 5 files changed +25
-11
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,8 @@ Expand the tab below to see an annotated `tree` output of the website repository
389389│ │ │ ├── mermaid.html # Styling and JavaScript for mermaid diagrams
390390│ │ │ ├── meta-common.html # <meta> tags used on all pages
391391│ │ │ ├── ms-clarity.html # Microsoft Clarity tags
392- │ │ │ ├── not-latest-version-alert.html # Alert box for versions that aren't the latest
392+ │ │ │ ├── old-version-alert.html # Alert box for versions that aren't the latest
393+ │ │ │ ├── preview-version-alert.html # Alert box for preview versions
393394│ │ │ ├── redirect.html # HTML meta redirect
394395│ │ │ ├── release-notes.html # Release note summary page generator
395396│ │ │ ├── rollworks.html # Rollworks analytics tags
Original file line number Diff line number Diff line change @@ -3,13 +3,6 @@ title: Install Crossplane
33weight : 100
44---
55
6- {{< hint "warning" >}}
7- Crossplane v2 is a preview release.
8-
9- ** Don't use this Crossplane v2 preview in production.**
10- {{< /hint >}}
11-
12-
136Crossplane installs into an existing Kubernetes cluster, creating the
147Crossplane pod.
158
Original file line number Diff line number Diff line change 44 < svg class ="bi flex-shrink-0 " role ="img " aria-label ="Info: "> < use xlink:href ="#info "/> </ svg >
55 </ div >
66 < div class ="d-flex ">
7- This document isn't for the latest version of Crossplane.
7+ This document is for an older version of Crossplane.
88 </ div >
99 </ div >
1010 < div class ="mt-3 ">
1111 < p >
12- This document applies to Crossplane version v{{ .Page.Params.version }} and not to the latest release v{{.Site.Params.latest}}.
12+ This document applies to Crossplane v{{ .Page.Params.version }} and not to the latest release v{{.Site.Params.latest}}.
1313 </ p >
1414 </ div >
1515</ div >
Original file line number Diff line number Diff line change 1+ < div class ="bd-callout bd-callout-danger d-flex flex-column w-100 ">
2+ < div class ="d-flex bd-title fs-6 fw-bold border-bottom border-info ">
3+ < div class ="d-flex pe-3 align-self-center ">
4+ < svg class ="bi flex-shrink-0 " role ="img " aria-label ="Info: "> < use xlink:href ="#info "/> </ svg >
5+ </ div >
6+ < div class ="d-flex ">
7+ This document is for a preview version of Crossplane.
8+ </ div >
9+ </ div >
10+ < div class ="mt-3 ">
11+ < p >
12+ This document applies to Crossplane v{{ .Page.Params.version }} and not to the latest release v{{.Site.Params.latest}}.
13+ < br />
14+ < br />
15+ < b > Don't use Crossplane v{{ .Page.Params.version }} in production.</ b >
16+ </ p >
17+ </ div >
18+ </ div >
Original file line number Diff line number Diff line change @@ -72,8 +72,10 @@ <h1 class="bd-title mb-0" id="content">{{ .Title | markdownify }}
7272
7373 {{- if eq .Page.Params.version "master" -}}
7474 {{ partialCached "master-version-alert" . }}
75+ {{- else if strings.HasSuffix $pageVer "-preview" -}}
76+ {{ partialCached "preview-version-alert" . .Section }}
7577 {{- else if ne $pageVer .Site.Params.latest -}}
76- {{ partialCached "not-latest -version-alert" . .Section }}
78+ {{ partialCached "old -version-alert" . .Section }}
7779 {{ end }}
7880 {{ end }}
7981
You can’t perform that action at this time.
0 commit comments