Skip to content

Commit 30e8bf6

Browse files
book: update refs to release specific books (#1288)
Signed-off-by: Prajyot-Parab <[email protected]>
1 parent 72f56d7 commit 30e8bf6

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

docs/book/book.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ title = "Kubernetes Cluster API Provider IBM Cloud"
88
[output.html]
99
curly-quotes = true
1010
git-repository-url = "https://sigs.k8s.io/cluster-api-provider-ibmcloud"
11+
additional-css = ["theme/css/custom.css"]
1112

1213
[preprocessor.tabulate]
1314
command = "mdbook-tabulate"

docs/book/src/introduction.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ hybrid deployments of Kubernetes. It is built atop the lessons learned from
1616
previous cluster managers such as [kops](https://github.com/kubernetes/kops) and
1717
[kubicorn](http://kubicorn.io/).
1818

19+
<aside class="note">
20+
21+
<h1>Cluster API Provider IBM Cloud documentation versions</h1>
22+
23+
This book documents Cluster API Provider IBM Cloud v0.5. For other versions please see the corresponding documentation:
24+
* [main.cluster-api-ibmcloud.sigs.k8s.io](https://main.cluster-api-ibmcloud.sigs.k8s.io)
25+
* [release-0-5.cluster-api-ibmcloud.sigs.k8s.io](https://release-0-5.cluster-api-ibmcloud.sigs.k8s.io/)
26+
* [release-0-4.cluster-api-ibmcloud.sigs.k8s.io](https://release-0-4.cluster-api-ibmcloud.sigs.k8s.io/)
27+
* [release-0-3.cluster-api-ibmcloud.sigs.k8s.io](https://release-0-3.cluster-api-ibmcloud.sigs.k8s.io/)
28+
29+
</aside>
30+
1931
## CAPIBM Supported Infrastructure-as-a-Service (IaaS)
2032

2133
<p align="center">

docs/book/theme/css/custom.css

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/* notes */
2+
aside.note {
3+
border: 1px solid var(--searchbar-border-color);
4+
border-radius: 3px;
5+
margin-top: 1em;
6+
}
7+
8+
aside.note > * {
9+
margin-left: 1em;
10+
margin-right: 1em;
11+
}
12+
13+
/* note title */
14+
aside.note > h1 {
15+
border-bottom: 1px solid var(--searchbar-border-color);
16+
margin: 0;
17+
padding: 0.5em 1em;
18+
font-size: 100%;
19+
font-weight: normal;
20+
background: var(--quote-bg);
21+
}
22+
23+
/* warning notes */
24+
aside.note.warning > h1 {
25+
background: var(--warning-note-background-color, #fcf8f2);
26+
}
27+
aside.note.warning > h1::before {
28+
/* TODO(directxman12): fill in these colors in theme.
29+
* If you're good with colors, feel free to play around with this
30+
* in dark mode. */
31+
content: "!";
32+
color: var(--warning-note-color, #f0ad4e);
33+
margin-right: 1em;
34+
font-size: 100%;
35+
vertical-align: middle;
36+
font-weight: bold;
37+
padding-left: 0.6em;
38+
padding-right: 0.6em;
39+
border-radius: 50%;
40+
border: 2px solid var(--warning-note-color, #f0ad4e);
41+
}

0 commit comments

Comments
 (0)