Skip to content

Commit

Permalink
book: update refs to release specific books (#1288) (#1329)
Browse files Browse the repository at this point in the history
Signed-off-by: Prajyot-Parab <[email protected]>
  • Loading branch information
Prajyot-Parab authored Aug 2, 2023
1 parent 8720fe4 commit 4110c3c
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/book/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ title = "Kubernetes Cluster API Provider IBMCloud"
[output.html]
curly-quotes = true
git-repository-url = "https://sigs.k8s.io/cluster-api-provider-ibmcloud"
additional-css = ["theme/css/custom.css"]

[preprocessor.tabulate]
command = "mdbook-tabulate"
Expand Down
11 changes: 11 additions & 0 deletions docs/book/src/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ hybrid deployments of Kubernetes. It is built atop the lessons learned from
previous cluster managers such as [kops](https://github.com/kubernetes/kops) and
[kubicorn](http://kubicorn.io/).

<aside class="note">

<h1>Cluster API Provider IBM Cloud documentation versions</h1>

This book documents Cluster API Provider IBM Cloud v0.4. For other versions please see the corresponding documentation:
* [main.cluster-api-ibmcloud.sigs.k8s.io](https://main.cluster-api-ibmcloud.sigs.k8s.io)
* [release-0-4.cluster-api-ibmcloud.sigs.k8s.io](https://release-0-4.cluster-api-ibmcloud.sigs.k8s.io/)
* [release-0-3.cluster-api-ibmcloud.sigs.k8s.io](https://release-0-3.cluster-api-ibmcloud.sigs.k8s.io/)

</aside>

## CAPIBM Supported Infrastructure-as-a-Service (IaaS)

<p align="center">
Expand Down
41 changes: 41 additions & 0 deletions docs/book/theme/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/* notes */
aside.note {
border: 1px solid var(--searchbar-border-color);
border-radius: 3px;
margin-top: 1em;
}

aside.note > * {
margin-left: 1em;
margin-right: 1em;
}

/* note title */
aside.note > h1 {
border-bottom: 1px solid var(--searchbar-border-color);
margin: 0;
padding: 0.5em 1em;
font-size: 100%;
font-weight: normal;
background: var(--quote-bg);
}

/* warning notes */
aside.note.warning > h1 {
background: var(--warning-note-background-color, #fcf8f2);
}
aside.note.warning > h1::before {
/* TODO(directxman12): fill in these colors in theme.
* If you're good with colors, feel free to play around with this
* in dark mode. */
content: "!";
color: var(--warning-note-color, #f0ad4e);
margin-right: 1em;
font-size: 100%;
vertical-align: middle;
font-weight: bold;
padding-left: 0.6em;
padding-right: 0.6em;
border-radius: 50%;
border: 2px solid var(--warning-note-color, #f0ad4e);
}

0 comments on commit 4110c3c

Please sign in to comment.