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

kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 27563f9f70 Remove duplicate CSS & not copy profile images
27563f9f70 is described below

commit 27563f9f70305b4ac9138fa5bbe75dac28805d9e
Author: Kaxil Naik <[email protected]>
AuthorDate: Wed Dec 17 12:39:00 2025 +0000

    Remove duplicate CSS & not copy profile images
---
 site.sh                                              |  7 +++++--
 .../sphinx_airflow_theme/globaltoc.html              | 20 --------------------
 2 files changed, 5 insertions(+), 22 deletions(-)

diff --git a/site.sh b/site.sh
index 68e6625858..72f19d73fd 100755
--- a/site.sh
+++ b/site.sh
@@ -187,9 +187,12 @@ function prepare_theme {
     cp "${SITE_DIST}"/scss/main.min.*.css "${THEME_GEN}/css/main.min.css"
     cp "${SITE_DIST}"/scss/main-custom.min.*.css 
"${THEME_GEN}/css/main-custom.min.css"
 
-    # Copy external JS/CSS/fonts for Sphinx docs to _gen directory
+    # Copy external JS/CSS/fonts for Sphinx docs to _gen directory (excluding 
profiles)
     EXTERNAL_SRC="${MY_DIR}/landing-pages/site/static/external"
-    cp -r "${EXTERNAL_SRC}" "${THEME_GEN}/"
+    mkdir -p "${THEME_GEN}/external"
+    cp -r "${EXTERNAL_SRC}/js" "${THEME_GEN}/external/"
+    cp -r "${EXTERNAL_SRC}/css" "${THEME_GEN}/external/"
+    cp -r "${EXTERNAL_SRC}/fonts" "${THEME_GEN}/external/"
 
     echo "Successful copied required files"
 }
diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/globaltoc.html 
b/sphinx_airflow_theme/sphinx_airflow_theme/globaltoc.html
index 11c277fb67..c5d5951628 100644
--- a/sphinx_airflow_theme/sphinx_airflow_theme/globaltoc.html
+++ b/sphinx_airflow_theme/sphinx_airflow_theme/globaltoc.html
@@ -87,24 +87,4 @@
         color: #707070;
     }
 
-    /* Dark mode support */
-    [data-bs-theme="dark"] .toctree .caption {
-        color: rgba(255, 255, 255, 0.95);
-    }
-    [data-bs-theme="dark"] .toctree li {
-        color: rgba(255, 255, 255, 0.85);
-    }
-    [data-bs-theme="dark"] .toctree a {
-        color: rgba(255, 255, 255, 0.85);
-    }
-    [data-bs-theme="dark"] .toctree a:hover {
-        color: rgba(255, 255, 255, 1);
-    }
-    [data-bs-theme="dark"] .toctree .current > a:not([href="#"]) {
-        color: #68d2fe;
-    }
-    [data-bs-theme="dark"] .toctree .current {
-        color: #68d2fe;
-    }
-
 </style>

Reply via email to