From 13d1a20d422a059b3f71c8e1465c240d9a19946b Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Tue, 27 Jun 2023 17:36:19 +0100 Subject: [PATCH 01/52] #872 -rh --- config.toml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/config.toml b/config.toml index d8dd26395..1eefb92aa 100644 --- a/config.toml +++ b/config.toml @@ -151,11 +151,16 @@ pre = "fa fa-rss" weight = 6 # Navbar and footer menu +[[menu.main]] +url = "/docs/authentication-providers/" +name = "Authentication providers" +weight = 1 + [[menu.docs]] url = "/docs/" name = "Docs" identifier = "docs" -weight = 1 +weight = 2 [[menu.docs]] url = "/docs/deploy" @@ -169,51 +174,45 @@ name = "Concepts" parent = "docs" weight = 2 -[[menu.docs]] -url = "/docs/authentication-providers/" -name = "Authentication providers" -parent = "docs" -weight = 3 - [[menu.docs]] url = "/docs/concepts/#architecture" name = "Architecture" parent = "docs" -weight = 4 +weight = 3 [[menu.docs]] url = "/docs/operate/" name = "Operate" parent = "docs" -weight = 5 +weight = 4 [[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" name = "Blog" -weight = 2 +weight = 3 [[menu.main]] name = "Community" identifier = "community" -weight = 3 +weight = 4 [[menu.main]] url = "/community/" @@ -254,7 +253,7 @@ weight = 6 [[menu.main]] name = "Project" identifier = "project" -weight = 4 +weight = 5 [[menu.main]] url = "https://github.com/cncf/foundation/blob/master/code-of-conduct.md" @@ -325,7 +324,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]] From 985c0487b8a7d2d5f9da7a74ac1db887dbd19901 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Tue, 27 Jun 2023 19:32:43 +0100 Subject: [PATCH 02/52] remove / --- config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 1eefb92aa..959c943c3 100644 --- a/config.toml +++ b/config.toml @@ -152,7 +152,7 @@ weight = 6 # Navbar and footer menu [[menu.main]] -url = "/docs/authentication-providers/" +url = "/docs/authentication-providers" name = "Authentication providers" weight = 1 From 74aea4e1ee1a003a325de3c70b88beb1d68a9282 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Tue, 27 Jun 2023 19:42:39 +0100 Subject: [PATCH 03/52] add identifier --- config.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/config.toml b/config.toml index 959c943c3..3312316dc 100644 --- a/config.toml +++ b/config.toml @@ -154,6 +154,7 @@ weight = 6 [[menu.main]] url = "/docs/authentication-providers" name = "Authentication providers" +identifier = "authentication-providers" weight = 1 [[menu.docs]] From 13e431ce7ba25bc046e607da5a5d6df6793233fd Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 09:02:26 +0100 Subject: [PATCH 04/52] nav fix --- config.toml | 14 ++++---------- layouts/partials/navbar.html | 4 ++++ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/config.toml b/config.toml index 3312316dc..05c39c7ff 100644 --- a/config.toml +++ b/config.toml @@ -151,17 +151,11 @@ pre = "fa fa-rss" weight = 6 # Navbar and footer menu -[[menu.main]] -url = "/docs/authentication-providers" -name = "Authentication providers" -identifier = "authentication-providers" -weight = 1 - [[menu.docs]] url = "/docs/" name = "Docs" identifier = "docs" -weight = 2 +weight = 1 [[menu.docs]] url = "/docs/deploy" @@ -208,12 +202,12 @@ weight = 7 [[menu.main]] url = "/blog" name = "Blog" -weight = 3 +weight = 2 [[menu.main]] name = "Community" identifier = "community" -weight = 4 +weight = 3 [[menu.main]] url = "/community/" @@ -254,7 +248,7 @@ weight = 6 [[menu.main]] name = "Project" identifier = "project" -weight = 5 +weight = 4 [[menu.main]] url = "https://github.com/cncf/foundation/blob/master/code-of-conduct.md" diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 4fbfef33c..27ac0f61f 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -37,6 +37,10 @@ Scalers + + {{ range $docs }} {{ $isExternal := hasPrefix .URL "http" }} {{ if .HasChildren }} From 89b82e09bbbbc92dd26b3bc59d65ee1b2626365b Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 09:51:07 +0100 Subject: [PATCH 05/52] #928 added submenus for both desktop and mobile Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- config.toml | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/config.toml b/config.toml index 05c39c7ff..c66971025 100644 --- a/config.toml +++ b/config.toml @@ -169,6 +169,42 @@ name = "Concepts" parent = "docs" weight = 2 +[[menu.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" @@ -181,6 +217,42 @@ name = "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" From ab075c12fdce48333b3e544a90dcd05e721615fa Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 10:08:19 +0100 Subject: [PATCH 06/52] add identifiers Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- config.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.toml b/config.toml index c66971025..5c4505d2f 100644 --- a/config.toml +++ b/config.toml @@ -166,6 +166,7 @@ weight = 1 [[menu.docs]] url = "/docs/concepts/" name = "Concepts" +identifier = "Concepts" parent = "docs" weight = 2 @@ -214,6 +215,7 @@ weight = 3 [[menu.docs]] url = "/docs/operate/" name = "Operate" +identifier = "Operate" parent = "docs" weight = 4 From cf74ccc29ceb7ccfc595e8ee57de3519a07c77d2 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 11:10:40 +0100 Subject: [PATCH 07/52] test multi level drop down Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 27ac0f61f..0f020f812 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -90,10 +90,14 @@ {{ else }} From e2bbbcfc04724a0bbd9370730f54375401487ff0 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 11:13:02 +0100 Subject: [PATCH 08/52] remove broken bits Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 0f020f812..27ac0f61f 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -90,14 +90,10 @@ {{ else }} From 3e373db202272151ba42ead6de9f78373adc679c Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 11:20:46 +0100 Subject: [PATCH 09/52] testing with lists Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 27ac0f61f..4dd389dfc 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -41,10 +41,11 @@ Auth providers + {{ end }} {{ end }} + {{ range $menu }} {{ $isExternal := hasPrefix .URL "http" }} From c8b08ed6fed0485532bea74dc98756fed44a4282 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 11:26:49 +0100 Subject: [PATCH 10/52] remove lists Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 4dd389dfc..074735aee 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -41,11 +41,10 @@ Auth providers - {{ range $menu }} {{ $isExternal := hasPrefix .URL "http" }} @@ -142,4 +138,4 @@ $nav.toggleClass("scrolled", $(this).scrollTop() > $nav.height()); }); }); - + \ No newline at end of file From b3d75c0f5e2a5c1fd0c67e51be14b9e5e51ca3b9 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 11:31:08 +0100 Subject: [PATCH 11/52] add second nest loop Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 074735aee..6e45a6242 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -53,7 +53,7 @@ - + {{ end }} {{ end }} + {{ range $menu }} {{ $isExternal := hasPrefix .URL "http" }} From e7919cad24b378c7c5efe47dc336509c542e430d Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 11:37:29 +0100 Subject: [PATCH 12/52] test to only show on hover Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 6e45a6242..0b7f7060a 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -62,6 +62,9 @@ {{ .Name }} + + + {{ if $isExternal }} @@ -92,6 +95,17 @@ {{ end }} {{ end }} + + + {{ range $menu }} {{ $isExternal := hasPrefix .URL "http" }} From 114b04852d64cc151b12393f319b2a1d36a4baa3 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 11:43:51 +0100 Subject: [PATCH 13/52] test 2 at on hover Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 55 ++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 0b7f7060a..6d63d2dc3 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -62,9 +62,6 @@ {{ .Name }} - - - {{ if $isExternal }} @@ -73,20 +70,32 @@ {{ if .HasChildren }} {{ end }} {{ end }} @@ -95,17 +104,7 @@ {{ end }} {{ end }} - - - + {{ range $menu }} {{ $isExternal := hasPrefix .URL "http" }} From c2e213a9e5dd286114c20817cb8de1231fb44d91 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 11:54:23 +0100 Subject: [PATCH 14/52] test new nested method Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 45 ++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 25 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 6d63d2dc3..173d457df 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -53,7 +53,7 @@ - + - {{ end }} {{ end }} - - {{ range $menu }} {{ $isExternal := hasPrefix .URL "http" }} From ca2ef263ebc688a620df06270a37890ce0e61787 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 12:03:56 +0100 Subject: [PATCH 15/52] fix some issues Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 173d457df..09c25e42b 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -45,7 +45,7 @@ {{ $isExternal := hasPrefix .URL "http" }} {{ if .HasChildren }} - + {{ end }} {{ end }} + {{ end }} {{ end }} @@ -165,4 +166,4 @@ $nav.toggleClass("scrolled", $(this).scrollTop() > $nav.height()); }); }); - \ No newline at end of file + From f1bbfb23d040c1d94fe08e8d612f460cc896f0c7 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 15:05:53 +0100 Subject: [PATCH 16/52] fix slash Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 5c4505d2f..344913f7e 100644 --- a/config.toml +++ b/config.toml @@ -164,7 +164,7 @@ parent = "docs" weight = 1 [[menu.docs]] -url = "/docs/concepts/" +url = "/docs/concepts" name = "Concepts" identifier = "Concepts" parent = "docs" From f2ecaa89dad8149c90a46ec00260a52c002db2b7 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 15:10:34 +0100 Subject: [PATCH 17/52] remove extra nesting as breaks checks Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 32 ++------------------------------ 1 file changed, 2 insertions(+), 30 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 09c25e42b..074735aee 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -45,7 +45,7 @@ {{ $isExternal := hasPrefix .URL "http" }} {{ if .HasChildren }} @@ -166,4 +138,4 @@ $nav.toggleClass("scrolled", $(this).scrollTop() > $nav.height()); }); }); - + \ No newline at end of file From e0e9e64427c458472c99e51b88082b862076dce2 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 15:18:09 +0100 Subject: [PATCH 18/52] testing something Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.toml b/config.toml index 344913f7e..11bfa6206 100644 --- a/config.toml +++ b/config.toml @@ -30,6 +30,9 @@ favicon = "favicon.png" [params.versions] docs = ["2.11", "2.10", "2.9", "2.8", "2.7", "2.6", "2.5", "2.4", "2.3", "2.2", "2.1", "2.0", "1.5", "1.4"] +archived_version = true +version = ["2.10", "2.9", "2.8", "2.7", "2.6", "2.5", "2.4", "2.3", "2.2", "2.1", "2.0", "1.5", "1.4"] +url_latest_version = "https://keda.sh/docs/2.11/" # Site fonts. For more options see https://fonts.google.com. [[params.fonts]] From 6cd5dbbf4d2638a14c09bc48b6dfa2af4b7fe775 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 15:20:24 +0100 Subject: [PATCH 19/52] remove test Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- config.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/config.toml b/config.toml index 11bfa6206..344913f7e 100644 --- a/config.toml +++ b/config.toml @@ -30,9 +30,6 @@ favicon = "favicon.png" [params.versions] docs = ["2.11", "2.10", "2.9", "2.8", "2.7", "2.6", "2.5", "2.4", "2.3", "2.2", "2.1", "2.0", "1.5", "1.4"] -archived_version = true -version = ["2.10", "2.9", "2.8", "2.7", "2.6", "2.5", "2.4", "2.3", "2.2", "2.1", "2.0", "1.5", "1.4"] -url_latest_version = "https://keda.sh/docs/2.11/" # Site fonts. For more options see https://fonts.google.com. [[params.fonts]] From 35db3047c36540ff35afef8f4cb0e99a968b41b1 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 16:05:58 +0100 Subject: [PATCH 20/52] testing something Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/docs/hero.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/layouts/partials/docs/hero.html b/layouts/partials/docs/hero.html index f5c19106d..f044bac8d 100644 --- a/layouts/partials/docs/hero.html +++ b/layouts/partials/docs/hero.html @@ -74,6 +74,14 @@ +
+
+

Warning

+
+
+ Version $version of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation please use the selection box above +
+
\ No newline at end of file From f631e462b0b7d53ddc9e0a97ed37913562bd171a Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 16:09:44 +0100 Subject: [PATCH 21/52] test 2 Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/docs/hero.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/docs/hero.html b/layouts/partials/docs/hero.html index f044bac8d..3b49320d2 100644 --- a/layouts/partials/docs/hero.html +++ b/layouts/partials/docs/hero.html @@ -74,6 +74,7 @@ + {{ if not $isLatest }}

Warning

@@ -82,6 +83,7 @@ Version $version of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation please use the selection box above
+ {{ end }} \ No newline at end of file From c81c4c8967a2109dd340acc6257a6e67deadca0b Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 16:15:00 +0100 Subject: [PATCH 22/52] test version Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/docs/hero.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/partials/docs/hero.html b/layouts/partials/docs/hero.html index 3b49320d2..7bb37e5c2 100644 --- a/layouts/partials/docs/hero.html +++ b/layouts/partials/docs/hero.html @@ -75,12 +75,13 @@ {{ if not $isLatest }} + {{ $url := replaceRE $version $latest .RelPermalink }}

Warning

- Version $version of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation please use the selection box above + Version "{{ $version }}" of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation please
{{ end }} From c69dbfb35ba76f136c9f6991219780b0ae5a989e Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 16:18:49 +0100 Subject: [PATCH 23/52] typo fix Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/docs/hero.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/docs/hero.html b/layouts/partials/docs/hero.html index 7bb37e5c2..a0797b28b 100644 --- a/layouts/partials/docs/hero.html +++ b/layouts/partials/docs/hero.html @@ -81,7 +81,7 @@

Warning

- Version "{{ $version }}" of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation please + Version "{{ $version }}" of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation please click here for the latest
{{ end }} From 051d21a512af4313ed34aaacf5c2c212281ee2cb Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 16:24:07 +0100 Subject: [PATCH 24/52] fix message Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/docs/hero.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/docs/hero.html b/layouts/partials/docs/hero.html index a0797b28b..f37b95d87 100644 --- a/layouts/partials/docs/hero.html +++ b/layouts/partials/docs/hero.html @@ -76,12 +76,12 @@ {{ if not $isLatest }} {{ $url := replaceRE $version $latest .RelPermalink }} -
+

Warning

- Version "{{ $version }}" of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation please click here for the latest + You are currently viewing Version "{{ $version }}" of the documentation and it is not the latest. For the most recent documentation, kindly click here.
{{ end }} From 1487de6b7a7586093f9488e84542843115bdfc00 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 16:52:50 +0100 Subject: [PATCH 25/52] test bulma drop down Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 50 ++++++++++++++++++++++++++---------- 1 file changed, 37 insertions(+), 13 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 074735aee..53fb9b772 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -53,26 +53,50 @@ - + {{ end }} - {{ end }} + {{ end }} + {{ range $menu }} {{ $isExternal := hasPrefix .URL "http" }} From 865ef4cb047d7d04a4b93d26989a7cc1d2260d96 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 16:58:04 +0100 Subject: [PATCH 26/52] test again Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 53fb9b772..e78c21915 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -65,17 +65,19 @@ @@ -119,7 +121,7 @@ {{ .Name }} {{ if $isExternal }} - + {{ end }} From e427dc8bdf25eb8bb85f65a17b3e001cbd566a42 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 17:02:37 +0100 Subject: [PATCH 27/52] making progress Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index e78c21915..c3a727369 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -63,9 +63,10 @@ {{ .Name }} + {{ else }} From a789a5cebb6b3ed2a16e24bd07ab51b58cacd759 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 17:05:47 +0100 Subject: [PATCH 28/52] try this Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index c3a727369..402f341c5 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -63,10 +63,10 @@ {{ .Name }} - {{ else }} From 1761c9336aba89b80687d9f4081431039307576a Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Wed, 28 Jun 2023 17:07:58 +0100 Subject: [PATCH 29/52] maybe? Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 402f341c5..f6c97fb2f 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -63,9 +63,8 @@ {{ .Name }} - From da9fd883849f619ac956e0663ee6644e07184061 Mon Sep 17 00:00:00 2001 From: Richard Hooper Date: Wed, 28 Jun 2023 20:02:03 +0100 Subject: [PATCH 36/52] add else --- layouts/partials/navbar.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index f668cf31e..c100b6473 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -82,6 +82,18 @@ {{ end }} {{ end }} + {{ else }} + + + {{ .Name }} + + {{ if $isExternal }} + + + + {{ end }} + + {{ end }} From 964d3875c0b3efdd0ef468fc06f8477b6eec6930 Mon Sep 17 00:00:00 2001 From: Richard Hooper Date: Wed, 28 Jun 2023 20:06:39 +0100 Subject: [PATCH 37/52] testing --- layouts/partials/navbar.html | 69 ++++++++++++++++++------------------ 1 file changed, 35 insertions(+), 34 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index c100b6473..53790afce 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -37,6 +37,10 @@ Scalers + + {{ range $docs }} {{ $isExternal := hasPrefix .URL "http" }} {{ if .HasChildren }} @@ -49,40 +53,37 @@ - + - - {{ end }} - {{ end }} {{ end }} + {{ end }} + {{ range $menu }} {{ $isExternal := hasPrefix .URL "http" }} From 3cb042c4d62d470daf9a183a1511c67b92ba6192 Mon Sep 17 00:00:00 2001 From: Richard Hooper Date: Wed, 28 Jun 2023 20:09:30 +0100 Subject: [PATCH 38/52] test menu --- layouts/partials/navbar.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 53790afce..92d989646 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -59,6 +59,7 @@ {{ $url := replaceRE "/docs" (printf "/docs/%s" $latest) .URL }} {{ $isExternal := hasPrefix .URL "http" }} {{ if .HasChildren }} + + {{ else }} From 2614a86afa08c84d4083be5085aba4b94f0b1e76 Mon Sep 17 00:00:00 2001 From: Richard Hooper Date: Wed, 28 Jun 2023 20:14:24 +0100 Subject: [PATCH 39/52] last test --- content/docs/2.0/scalers/azure-log-analytics.md | 0 layouts/partials/navbar.html | 6 +----- .../azure-log-analytics-scaler-query-example.png | Bin static/img/logos/cisco.svg | 0 static/img/logos/cncf-color.png | Bin 5 files changed, 1 insertion(+), 5 deletions(-) mode change 100755 => 100644 content/docs/2.0/scalers/azure-log-analytics.md mode change 100755 => 100644 static/img/azure-log-analytics-scaler-query-example.png mode change 100755 => 100644 static/img/logos/cisco.svg mode change 100755 => 100644 static/img/logos/cncf-color.png 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/navbar.html b/layouts/partials/navbar.html index 92d989646..0f0ffe874 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -59,12 +59,10 @@ {{ $url := replaceRE "/docs" (printf "/docs/%s" $latest) .URL }} {{ $isExternal := hasPrefix .URL "http" }} {{ if .HasChildren }} - + + - - + + + \ No newline at end of file + $(function () { + $(document).scroll(function () { + var $nav = $("#mainnav"); + $nav.toggleClass("scrolled", $(this).scrollTop() > $nav.height()); + }); + }); + \ No newline at end of file From 2d4b817ed6b592eeeb8b2d8c7d36fce985022493 Mon Sep 17 00:00:00 2001 From: PixelRobots <22979170+PixelRobots@users.noreply.github.com> Date: Mon, 3 Jul 2023 15:06:59 +0100 Subject: [PATCH 47/52] test nested again Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com> --- layouts/partials/navbar.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 0f0ffe874..64beecd5f 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -60,14 +60,14 @@ {{ $isExternal := hasPrefix .URL "http" }} {{ if .HasChildren }}