Skip to content

Commit 8e92a03

Browse files
author
Jennifer Travinski
committed
Merge branch 'Tejeev-patch-4' of https://github.com/rancher/docs into Tejeev-patch-4
2 parents eb414f4 + f674d89 commit 8e92a03

File tree

1,448 files changed

+45787
-76235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,448 files changed

+45787
-76235
lines changed

README.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Rancher Docs
22
------------
33

4+
## Contributing
5+
6+
We have transitioned to versioned documentation for Rancher (files within `content/rancher`).
7+
8+
New contributions should be made to the applicable versioned directories (e.g., `content/rancher/v2.5` and `content/rancher/v2.0-v2.4`).
9+
10+
Contents under the `content/rancher/v2.x` directory are no longer maintained after v2.5.6.
11+
412
## Running for development/editing
513

614
The `rancher/docs:dev` docker image runs a live-updating server. To run on your workstation, run:
@@ -15,7 +23,12 @@ Windows
1523
./scripts/dev-windows.ps1
1624
```
1725

18-
and then navigate to http://localhost:9001/. You can customize the port by passing it as an argument:
26+
and then navigate to http://localhost:9001/. Click the link on the card associated with a given Rancher version to
27+
access the documentation. For example, clicking on the link of the Rancher v2.5 card will redirect to
28+
http://localhost:9001/rancher/v2.5/en/. Note that due to the way the Rancher website is built, links in the top
29+
navigation panel will not work.
30+
31+
You can customize the port by passing it as an argument:
1932

2033
Linux
2134
```bash

config.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title = "Rancher Labs"
55
theme = "rancher-website-theme"
66
themesDir = "node_modules"
77
pluralizeListTitles = false
8-
timeout = 60000
8+
timeout = 80000
99

1010
enableRobotsTXT = true
1111
pygmentsCodeFences = true
@@ -209,4 +209,4 @@ pre = "<i class='material-icons'>keyboard_arrow_down</i>"
209209
[[menu.main]]
210210
name = "Partners"
211211
url = "https://rancher.com/partners/"
212-
parent = "about"
212+
parent = "about"

content/_index.html

+114-7
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,31 @@ <h3 class="description-label">Rancher is open source software that combines ever
9191
<div class="row max-sized cards-container">
9292
<div class="col-12 cards-wrap">
9393
<div class="row center-xs card-items-wrap">
94+
<!--2.6-->
95+
<div class="
96+
col-xl-4
97+
col-lg-4
98+
col-md-4
99+
col-sm-12
100+
col-xs-12
101+
col-12
102+
card-item">
103+
<div class="card-wrap">
104+
<h3 class="title-label">
105+
<span class="background">2.6</span>
106+
Rancher 2.6
107+
</h3>
108+
109+
<hr/>
110+
111+
<p class="description-label">Rancher manages all of your Kubernetes clusters everywhere, unifies them under centralized RBAC, monitors them and lets you easily deploy and manage workloads through an intuitive user interface.</p>
112+
113+
<div class="buttons-container">
114+
<a href="{{<baseurl>}}/rancher/v2.6/en/">Rancher v2.6</a>
115+
</div>
116+
</div>
117+
</div>
118+
<!--2.5-->
94119
<div class="
95120
col-xl-4
96121
col-lg-4
@@ -101,23 +126,44 @@ <h3 class="description-label">Rancher is open source software that combines ever
101126
card-item">
102127
<div class="card-wrap">
103128
<h3 class="title-label">
104-
<span class="background">2.x</span>
105-
Rancher 2.x
129+
<span class="background">2.5</span>
130+
Rancher 2.5
106131
</h3>
107132

108133
<hr/>
109134

110135
<p class="description-label">Rancher manages all of your Kubernetes clusters everywhere, unifies them under centralized RBAC, monitors them and lets you easily deploy and manage workloads through an intuitive user interface.</p>
111136

112137
<div class="buttons-container">
113-
<a href="{{<baseurl>}}/rancher/v2.x/en/">
114-
<button class="button text">
115-
<span>Read the docs</span>
116-
</button>
117-
</a>
138+
<a href="{{<baseurl>}}/rancher/v2.5/en/">Rancher v2.5</a>
118139
</div>
119140
</div>
120141
</div>
142+
<!--2.0-->
143+
<div class="
144+
col-xl-4
145+
col-lg-4
146+
col-md-4
147+
col-sm-12
148+
col-xs-12
149+
col-12
150+
card-item">
151+
<div class="card-wrap">
152+
<h3 class="title-label">
153+
<span class="background">2.0-2.4</span>
154+
Rancher 2.0-2.4
155+
</h3>
156+
157+
<hr/>
158+
159+
<p class="description-label">Rancher manages all of your Kubernetes clusters everywhere, unifies them under centralized RBAC, monitors them and lets you easily deploy and manage workloads through an intuitive user interface.</p>
160+
161+
<div class="buttons-container">
162+
<a href="{{<baseurl>}}/rancher/v2.0-v2.4/en/">Rancher v2.0-v2.4</a>
163+
</div>
164+
</div>
165+
</div>
166+
<!--1.6-->
121167
<div class="
122168
col-xl-4
123169
col-lg-4
@@ -145,6 +191,7 @@ <h3 class="title-label">
145191
</div>
146192
</div>
147193
</div>
194+
<!--rancher os-->
148195
<div class="
149196
col-xl-4
150197
col-lg-4
@@ -172,6 +219,7 @@ <h3 class="title-label">
172219
</div>
173220
</div>
174221
</div>
222+
<!--rke-->
175223
<div class="
176224
col-xl-4
177225
col-lg-4
@@ -199,6 +247,7 @@ <h3 class="title-label">
199247
</div>
200248
</div>
201249
</div>
250+
<!--k3s-->
202251
<div class="
203252
col-xl-4
204253
col-lg-4
@@ -226,6 +275,64 @@ <h3 class="title-label">
226275
</div>
227276
</div>
228277
</div>
278+
<!--rke2-->
279+
<div class="
280+
col-xl-4
281+
col-lg-4
282+
col-md-4
283+
col-sm-12
284+
col-xs-12
285+
col-12
286+
card-item">
287+
<div class="card-wrap">
288+
<h3 class="title-label">
289+
<span class="background">RKE2</span>
290+
RKE2
291+
</h3>
292+
293+
<hr />
294+
295+
<p class="description-label">RKE2, also known as RKE Government, is Rancher's next-generation Kubernetes distribution.</p>
296+
297+
<div class="buttons-container">
298+
<a href="https://docs.rke2.io/">
299+
<button class="button text">
300+
<span>Read the docs</span>
301+
</button>
302+
</a>
303+
</div>
304+
</div>
305+
</div>
306+
<!--longhorn-->
307+
<div class="
308+
col-xl-4
309+
col-lg-4
310+
col-md-4
311+
col-sm-12
312+
col-xs-12
313+
col-12
314+
card-item">
315+
<div class="card-wrap">
316+
<h3 class="title-label">
317+
<span class="background">Longhorn</span>
318+
Longhorn
319+
</h3>
320+
321+
<hr />
322+
323+
<p class="description-label">Longhorn is a lightweight, reliable, and powerful distributed block storage system for Kubernetes.</p>
324+
325+
<div class="buttons-container">
326+
<a href="https://longhorn.io/docs/">
327+
<button class="button text">
328+
<span>Read the docs</span>
329+
</button>
330+
</a>
331+
</div>
332+
</div>
333+
</div>
334+
335+
229336
</div>
230337
</div>
231338
</div>

0 commit comments

Comments
 (0)