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
389
389
│ │ │ ├── mermaid.html # Styling and JavaScript for mermaid diagrams
390
390
│ │ │ ├── meta-common.html # <meta> tags used on all pages
391
391
│ │ │ ├── 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
393
394
│ │ │ ├── redirect.html # HTML meta redirect
394
395
│ │ │ ├── release-notes.html # Release note summary page generator
395
396
│ │ │ ├── rollworks.html # Rollworks analytics tags
Original file line number Diff line number Diff line change @@ -3,13 +3,6 @@ title: Install Crossplane
3
3
weight : 100
4
4
---
5
5
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
-
13
6
Crossplane installs into an existing Kubernetes cluster, creating the
14
7
Crossplane pod.
15
8
Original file line number Diff line number Diff line change 4
4
< svg class ="bi flex-shrink-0 " role ="img " aria-label ="Info: "> < use xlink:href ="#info "/> </ svg >
5
5
</ div >
6
6
< 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.
8
8
</ div >
9
9
</ div >
10
10
< div class ="mt-3 ">
11
11
< 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}}.
13
13
</ p >
14
14
</ div >
15
15
</ 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 }}
72
72
73
73
{{- if eq .Page.Params.version "master" -}}
74
74
{{ partialCached "master-version-alert" . }}
75
+ {{- else if strings.HasSuffix $pageVer "-preview" -}}
76
+ {{ partialCached "preview-version-alert" . .Section }}
75
77
{{- else if ne $pageVer .Site.Params.latest -}}
76
- {{ partialCached "not-latest -version-alert" . .Section }}
78
+ {{ partialCached "old -version-alert" . .Section }}
77
79
{{ end }}
78
80
{{ end }}
79
81
You can’t perform that action at this time.
0 commit comments