+
+ Warning
+
+ You are currently viewing Version "{{ $version }}" of the documentation and it is not the latest. For the most recent documentation, kindly click here.
+
+ diff --git a/assets/sass/nav.sass b/assets/sass/nav.sass index 4b1478dbb..de82aa0f8 100644 --- a/assets/sass/nav.sass +++ b/assets/sass/nav.sass @@ -88,3 +88,22 @@ @media screen and (max-width: 1023px) .navbar-link, .navbar-item color: $dark + +.nested.navbar-link, .nestednavbar-item + color: #4a4a4a; + +.nested.dropdown:hover > .dropdown-menu + display: block; + +.nested.dropdown .dropdown-menu + top: -12px; + margin-left: 100%; + +.nested.dropdown .dropdown-trigger button::after + + +.nested.dropdown .dropdown-trigger button + padding: 0px 0px; + border: 0px; + font-size: 14px; + font-weight: 400; diff --git a/config.toml b/config.toml index d8dd26395..344913f7e 100644 --- a/config.toml +++ b/config.toml @@ -164,46 +164,114 @@ parent = "docs" weight = 1 [[menu.docs]] -url = "/docs/concepts/" +url = "/docs/concepts" name = "Concepts" +identifier = "Concepts" parent = "docs" weight = 2 [[menu.docs]] -url = "/docs/authentication-providers/" -name = "Authentication providers" -parent = "docs" +url = "/docs/concepts/scaling-deployments/" +name = "Scaling Deployments, StatefulSets & Custom Resources" +parent = "Concepts" +weight = 1 + +[[menu.docs]] +url = "/docs/concepts/scaling-jobs/" +name = "Scaling Jobs" +parent = "Concepts" +weight = 2 + +[[menu.docs]] +url = "/docs/concepts/authentication/" +name = "Authentication" +parent = "Concepts" weight = 3 +[[menu.docs]] +url = "/docs/concepts/external-scalers/" +name = "External Scalers" +parent = "Concepts" +weight = 4 + +[[menu.docs]] +url = "/docs/concepts/admission-webhooks/" +name = "Admission Webhooks" +parent = "Concepts" +weight = 5 + +[[menu.docs]] +url = "/docs/concepts/troubleshooting/" +name = "Troubleshooting" +parent = "Concepts" +weight = 6 + [[menu.docs]] url = "/docs/concepts/#architecture" name = "Architecture" parent = "docs" -weight = 4 +weight = 3 [[menu.docs]] url = "/docs/operate/" name = "Operate" +identifier = "Operate" parent = "docs" +weight = 4 + +[[menu.docs]] +url = "/docs/operate/admission-webhooks/" +name = "Admission Webhooks" +parent = "Operate" +weight = 1 + +[[menu.docs]] +url = "/docs/operate/cluster/" +name = "Cluster" +parent = "Operate" +weight = 2 + +[[menu.docs]] +url = "/docs/operate/events/" +name = "Events" +parent = "Operate" +weight = 3 + +[[menu.docs]] +url = "/docs/operate/prometheus/" +name = "Integrate with Prometheus" +parent = "Operate" +weight = 4 + +[[menu.docs]] +url = "/docs/operate/metrics-server/" +name = "KEDA Metrics Server" +parent = "Operate" weight = 5 +[[menu.docs]] +url = "/docs/operate/security/" +name = "Security" +parent = "Operate" +weight = 6 + [[menu.docs]] url = "/docs/migration/" name = "Migration Guide" parent = "docs" -weight = 6 +weight = 5 [[menu.docs]] url = "/docs/faq/" name = "FAQ" parent = "docs" -weight = 7 +weight = 6 [[menu.docs]] url = "/docs/troubleshooting/" name = "Troubleshooting" parent = "docs" -weight = 8 +weight = 7 [[menu.main]] url = "/blog" @@ -325,7 +393,8 @@ weight = 11 [[menu.main]] url = "https://store.cncf.io/collections/keda" name = "Merch" -weight = 5 +parent = "project" +weight = 12 # "Features" section on the main page [[params.features]] diff --git a/content/docs/2.0/scalers/azure-log-analytics.md b/content/docs/2.0/scalers/azure-log-analytics.md old mode 100755 new mode 100644 diff --git a/layouts/partials/docs/hero.html b/layouts/partials/docs/hero.html index f5c19106d..f37b95d87 100644 --- a/layouts/partials/docs/hero.html +++ b/layouts/partials/docs/hero.html @@ -74,6 +74,17 @@ + {{ if not $isLatest }} + {{ $url := replaceRE $version $latest .RelPermalink }} + Scalers +
+ {{ range $docs }} {{ $isExternal := hasPrefix .URL "http" }} {{ if .HasChildren }} @@ -49,26 +53,50 @@ - + {{ end }} - {{ end }} + {{ end }} + {{ range $menu }} {{ $isExternal := hasPrefix .URL "http" }} @@ -91,7 +119,7 @@ {{ .Name }} {{ if $isExternal }} - + {{ end }} \ No newline at end of file diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 4fbfef33c..a6580b6b9 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -37,6 +37,10 @@ + {{ end }} @@ -134,4 +162,4 @@ $nav.toggleClass("scrolled", $(this).scrollTop() > $nav.height()); }); }); - + \ No newline at end of file diff --git a/static/img/azure-log-analytics-scaler-query-example.png b/static/img/azure-log-analytics-scaler-query-example.png old mode 100755 new mode 100644 diff --git a/static/img/logos/cisco.svg b/static/img/logos/cisco.svg old mode 100755 new mode 100644 diff --git a/static/img/logos/cncf-color.png b/static/img/logos/cncf-color.png old mode 100755 new mode 100644