Rancher docs
@@ -17,7 +24,7 @@ layout: "no-hero"
-
+
@@ -28,30 +35,46 @@ layout: "no-hero"
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
Featured resource
-
Read about how to migrate from Rancher v1.6 Cattle to v2.x
-
-
-
-
- Read the report
-
-
-
+
+
+
+
+
+
Featured resource
+
Read about how to migrate from Rancher v1.6 Cattle to v2.x
+
+
+
+
+
@@ -63,9 +86,16 @@ layout: "no-hero"
-
+
-
+
2.x
@@ -85,7 +115,14 @@ layout: "no-hero"
-
+
1.6
@@ -105,7 +142,14 @@ layout: "no-hero"
-
+
OS
@@ -125,7 +169,14 @@ layout: "no-hero"
-
+
RKE
@@ -164,8 +215,8 @@ layout: "no-hero"
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.
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 3e7a794819c..a8d37a161c4 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -180,7 +180,7 @@
e.preventDefault();
if ($(this).attr('class') === 'back-to-the-top') {
- $('.mobile-header-container').scrollTop(0);
+ $('.side-menus-container').scrollTop(0);
}
if($(this).children(".submenu").length > 0) {
@@ -248,108 +248,16 @@
})( jQuery, window, document );
var sideNavMenus = $('.side-menus-container');
-
sideNavMenus.jqueryAccordionMenu();
+
+ var sideNavMenusMobile = $('.docs-container .side-menus');
+ $('.guide-menus-activator').click(function() {
+ if (sideNavMenusMobile.hasClass('show')) {
+ sideNavMenusMobile.removeClass('show');
+ } else {
+ sideNavMenusMobile.addClass('show');
+ }
+ });
});
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ partial "docs-side-nav.html" . }}
-
-
-
-
- {{ with .Params.Title }}
- {{ . }}
-
- {{end}}
-
- {{ if .Params.ctaBanner }}
- {{ with index .Site.Data.cta .Params.ctaBanner }}
-
- {{ end }}
- {{ end }}
-
-
-
-
-
- {{ .Content }}
-
- {{ $paginator := .Scratch.Get "paginator" }}
- {{ range $paginator.Pages }}
-
-
-
-
- {{ if .Params.Image }}
-
- {{end}}
-
-
{{ .Summary | safeHTML }}
- {{ if .Truncated }}
-
- {{ end }}
-
-
-
-
- {{ with .Params.Author }}
-
person_outline By: {{ . }}
- {{end}}
-
- {{ if eq .Section "events" }}
- {{ with .Params.EventDate }}
-
event {{ . }}
- {{end}}
-
- {{ else }}
-
- {{ with .Params.Date }}
-
event {{ .Format "January 2, 2006" }}
- {{end}}
- {{end}}
-
- {{ if eq .Section "blog" }}
-
timer Read Time: {{.ReadingTime}} minutes
- {{end}}
-
- {{ with .Params.Location }}
-
location_on {{ . }}
- {{end}}
-
-
-
-
- {{ end }}
-
- {{ template "_internal/pagination.html" . }}
-
- {{ partial "page-edit.html" . }}
-
-
-
-
{{ end }}
diff --git a/layouts/partials/docs-side-nav.html b/layouts/partials/docs-side-nav.html
index 55e99f8d72a..537227156df 100644
--- a/layouts/partials/docs-side-nav.html
+++ b/layouts/partials/docs-side-nav.html
@@ -59,6 +59,19 @@
diff --git a/layouts/partials/page-edit.html b/layouts/partials/page-edit.html
index 7a51474ece9..5e16a32293f 100755
--- a/layouts/partials/page-edit.html
+++ b/layouts/partials/page-edit.html
@@ -1,5 +1,5 @@