This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch revert-docsy-upgrade
in repository https://gitbox.apache.org/repos/asf/airflow-site.git

commit 1a8308d3d0bf52c3b33bb18f69743dce4964fea1
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu Mar 12 10:02:54 2026 +0100

    Revert "Upgrade Docsy theme (#1443)"
    
    This reverts commit 285dc3cd6521f4a942f47bdfcc70a561c20e0366.
---
 .github/workflows/build.yml                           | 2 +-
 landing-pages/site/assets/scss/main-custom.scss       | 1 -
 landing-pages/site/layouts/partials/sidebar-tree.html | 8 +++-----
 landing-pages/site/themes/docsy                       | 2 +-
 4 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 18085206ce..e85b818620 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -83,7 +83,7 @@ jobs:
           node-version: 22
       - name: 📚 Install Hugo
         run: |
-          HUGO_VERSION="0.157.0"
+          HUGO_VERSION="0.146.0"
           curl -fsSL 
"https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz";
 | sudo tar -xz -C /usr/local/bin hugo
       - name: 📦 Install Docsy theme dependencies (Bootstrap & FontAwesome)
         working-directory: /mnt/airflow-site/landing-pages/site/themes/docsy
diff --git a/landing-pages/site/assets/scss/main-custom.scss 
b/landing-pages/site/assets/scss/main-custom.scss
index 04f3af08a3..defe50572b 100644
--- a/landing-pages/site/assets/scss/main-custom.scss
+++ b/landing-pages/site/assets/scss/main-custom.scss
@@ -51,7 +51,6 @@
 @import "scroll-to-top";
 @import "content-drawer";
 @import "dropdown";
-$enable-dark-mode: true !default; // Set enable dark mode variable; bootstrap 
also has but we don't import bootstrap in Docsy's main.scss; required for Docsy 
theme version 0.14.2
 @import "td/code-dark"; // Import Docsy Chroma themes for blog markdown code 
blocks
 @import "highlights";
 @import "share-social-media";
diff --git a/landing-pages/site/layouts/partials/sidebar-tree.html 
b/landing-pages/site/layouts/partials/sidebar-tree.html
index 2766fd1acd..5d8217a12f 100644
--- a/landing-pages/site/layouts/partials/sidebar-tree.html
+++ b/landing-pages/site/layouts/partials/sidebar-tree.html
@@ -18,15 +18,13 @@
 */}}
 
 {{/* We cache this partial for bigger sites and set the active class client 
side. */}}
-
 <div id="td-sidebar-menu" class="td-sidebar__inner">
     <nav class="collapse show td-sidebar-nav pt-2 pl-4" id="td-section-nav">
-        {{ $context := cond (isset . "context") .context . }}
-        {{ $rootPage := $context }}
-        {{ $firstSection := $rootPage.FirstSection }}
+        {{ $rootPage := . }}
+        {{ $firstSection := .FirstSection }}
         {{ $pages := where (union $firstSection.Pages 
$firstSection.Sections).ByWeight ".Params.toc_hide" "!=" true }}
         {{ $pages := $pages | first 50 }}
-        {{ $url := $context.Permalink}}
+        {{ $url := .Permalink}}
         {{ range $pages }}
             {{ if .IsPage }}
                 {{ $mid := printf "m-%s" (.RelPermalink | anchorize) }}
diff --git a/landing-pages/site/themes/docsy b/landing-pages/site/themes/docsy
index c8162c2346..ace4e37cee 160000
--- a/landing-pages/site/themes/docsy
+++ b/landing-pages/site/themes/docsy
@@ -1 +1 @@
-Subproject commit c8162c2346bd68248411c75c994555a27b6645b4
+Subproject commit ace4e37ceedcec9c48d329adb1128201061ef23d

Reply via email to