From 44d152f3316c5920a5497a8e11480c0fb12e9e1d Mon Sep 17 00:00:00 2001 From: Naomi Pentrel <5212232+npentrel@users.noreply.github.com> Date: Tue, 3 Dec 2024 22:08:28 +0100 Subject: [PATCH] Fix empty pages to be not clickable --- assets/scss/_styles_project.scss | 10 +++++++++- docs/data-ai/ai/_index.md | 2 +- docs/data-ai/ai/advanced/_index.md | 2 +- docs/data-ai/data/_index.md | 2 +- docs/data-ai/data/advanced/_index.md | 2 +- docs/data-ai/get-started/_index.md | 2 +- docs/data-ai/reference/_index.md | 2 +- docs/dev/reference/_index.md | 2 +- docs/dev/tools/_index.md | 2 +- docs/manage/deploy/_index.md | 3 ++- docs/manage/manage/_index.md | 2 +- docs/manage/reference/_index.md | 2 +- docs/manage/troubleshoot/_index.md | 2 +- docs/operate/control/_index.md | 2 +- docs/operate/get-started/_index.md | 2 +- docs/operate/mobility/_index.md | 2 +- docs/operate/reference/_index.md | 2 +- 17 files changed, 26 insertions(+), 17 deletions(-) diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index fd1f332a9f..32243a4836 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -2629,6 +2629,10 @@ span.section-overview { display: none } +.navsectiontop { + display: none; +} + @media (min-width: 768px) { .td-sidebar-nav__section ul.ul-1 { padding-top: 0.5rem @@ -2638,6 +2642,10 @@ span.section-overview { display: none; } + .navsectiontop { + display: unset; + } + .menu-toggle.open-on-desktop { display: none; } @@ -2646,7 +2654,7 @@ span.section-overview { display: block !important; } - li.nav-fold.open-on-desktop.header-only > span > a { + li.nav-fold.open-on-desktop.header-only > span > span { text-transform: uppercase; font-family: Space Mono,sans-serif; color: #aaa; diff --git a/docs/data-ai/ai/_index.md b/docs/data-ai/ai/_index.md index 27948b7ad8..a7a53e72e5 100644 --- a/docs/data-ai/ai/_index.md +++ b/docs/data-ai/ai/_index.md @@ -4,7 +4,7 @@ title: "Leverage AI" weight: 300 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true --- diff --git a/docs/data-ai/ai/advanced/_index.md b/docs/data-ai/ai/advanced/_index.md index 233056f4cd..f004c032cf 100644 --- a/docs/data-ai/ai/advanced/_index.md +++ b/docs/data-ai/ai/advanced/_index.md @@ -4,5 +4,5 @@ title: "Advanced" weight: 200 layout: "empty" type: "docs" -empty_page: true +empty_node: true --- diff --git a/docs/data-ai/data/_index.md b/docs/data-ai/data/_index.md index ff2cce54ab..c96e8f5f03 100644 --- a/docs/data-ai/data/_index.md +++ b/docs/data-ai/data/_index.md @@ -4,7 +4,7 @@ title: "Manage data" weight: 200 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true --- diff --git a/docs/data-ai/data/advanced/_index.md b/docs/data-ai/data/advanced/_index.md index 233056f4cd..f004c032cf 100644 --- a/docs/data-ai/data/advanced/_index.md +++ b/docs/data-ai/data/advanced/_index.md @@ -4,5 +4,5 @@ title: "Advanced" weight: 200 layout: "empty" type: "docs" -empty_page: true +empty_node: true --- diff --git a/docs/data-ai/get-started/_index.md b/docs/data-ai/get-started/_index.md index e02e0b0326..8046842842 100644 --- a/docs/data-ai/get-started/_index.md +++ b/docs/data-ai/get-started/_index.md @@ -4,7 +4,7 @@ title: "Get started" weight: 100 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true --- diff --git a/docs/data-ai/reference/_index.md b/docs/data-ai/reference/_index.md index 7fd76af858..b0d7057a18 100644 --- a/docs/data-ai/reference/_index.md +++ b/docs/data-ai/reference/_index.md @@ -4,7 +4,7 @@ title: "Reference" weight: 500 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true --- diff --git a/docs/dev/reference/_index.md b/docs/dev/reference/_index.md index a11cc4cbac..8b203fb9c0 100644 --- a/docs/dev/reference/_index.md +++ b/docs/dev/reference/_index.md @@ -4,7 +4,7 @@ title: "Reference" weight: 300 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true --- diff --git a/docs/dev/tools/_index.md b/docs/dev/tools/_index.md index 7bb329bb1f..6b665d4d6c 100644 --- a/docs/dev/tools/_index.md +++ b/docs/dev/tools/_index.md @@ -4,7 +4,7 @@ title: "Tools" weight: 100 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true --- diff --git a/docs/manage/deploy/_index.md b/docs/manage/deploy/_index.md index fc8b495ec6..b8c6e9bcf8 100644 --- a/docs/manage/deploy/_index.md +++ b/docs/manage/deploy/_index.md @@ -4,7 +4,8 @@ title: "Deploy" weight: 10 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true +empty_node: true --- diff --git a/docs/manage/manage/_index.md b/docs/manage/manage/_index.md index c3fb2721a8..8f8045865b 100644 --- a/docs/manage/manage/_index.md +++ b/docs/manage/manage/_index.md @@ -4,7 +4,7 @@ title: "Manage and organize" weight: 20 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true --- diff --git a/docs/manage/reference/_index.md b/docs/manage/reference/_index.md index a11cc4cbac..8b203fb9c0 100644 --- a/docs/manage/reference/_index.md +++ b/docs/manage/reference/_index.md @@ -4,7 +4,7 @@ title: "Reference" weight: 300 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true --- diff --git a/docs/manage/troubleshoot/_index.md b/docs/manage/troubleshoot/_index.md index f2ebe50219..db093355cd 100644 --- a/docs/manage/troubleshoot/_index.md +++ b/docs/manage/troubleshoot/_index.md @@ -4,7 +4,7 @@ title: "Monitor and Troubleshoot" weight: 30 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true --- diff --git a/docs/operate/control/_index.md b/docs/operate/control/_index.md index 32c624776d..7b46aef615 100644 --- a/docs/operate/control/_index.md +++ b/docs/operate/control/_index.md @@ -4,7 +4,7 @@ title: "Build apps" weight: 200 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true --- diff --git a/docs/operate/get-started/_index.md b/docs/operate/get-started/_index.md index 89edbe1cdc..ea38b9e9e7 100644 --- a/docs/operate/get-started/_index.md +++ b/docs/operate/get-started/_index.md @@ -4,7 +4,7 @@ title: "Get Started" weight: 100 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true --- diff --git a/docs/operate/mobility/_index.md b/docs/operate/mobility/_index.md index 3130310c11..89c431a2b0 100644 --- a/docs/operate/mobility/_index.md +++ b/docs/operate/mobility/_index.md @@ -4,7 +4,7 @@ title: "Plan motion" weight: 200 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true --- diff --git a/docs/operate/reference/_index.md b/docs/operate/reference/_index.md index a11cc4cbac..8b203fb9c0 100644 --- a/docs/operate/reference/_index.md +++ b/docs/operate/reference/_index.md @@ -4,7 +4,7 @@ title: "Reference" weight: 300 layout: "empty" type: "docs" -empty_page: true +empty_node: true open_on_desktop: true header_only: true ---