From 2e60985827d0ef1f6ddb877d62703d1fdad2737a Mon Sep 17 00:00:00 2001 From: Deepak Khatri <lorforlinux@beagleboard.org> Date: Mon, 25 Nov 2024 01:06:42 +0530 Subject: [PATCH] Update theme version and fix typo --- _templates/404.html | 10 +++++----- requirements.txt | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_templates/404.html b/_templates/404.html index fbfcbdf5..4215fbdf 100644 --- a/_templates/404.html +++ b/_templates/404.html @@ -10,7 +10,7 @@ let currentUrl = window.location.href; // Flag to check if valid redirect is found - let redirectFount = false; + let redirectFound = false; // Iterate over the redirect_folders key-value pairs for (const [key, value] of Object.entries(redirectFolders)) { @@ -27,8 +27,8 @@ .then(response => { if (response.ok) { // Valid redirect is found - let redirectFount = true; - + let redirectFound = true; + // Update the heading with the correct information const headingElement = document.getElementById('pageHeading'); if (headingElement) { @@ -75,7 +75,7 @@ clearInterval(countdownInterval); window.location.href = newUrl; } - }, 1000); + }, 1000);5.4 // Event listener for "Redirect Now" button document.getElementById('redirectNow').addEventListener('click', () => { @@ -102,7 +102,7 @@ } } - if (!redirectFount) { + if (!redirectFound) { // In case the link test doesn't include redirectFolders const headingElement = document.getElementById('pageHeading'); if (headingElement) { diff --git a/requirements.txt b/requirements.txt index 592ffd72..5611468c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,7 +20,7 @@ snowballstemmer==2.2.0 Sphinx==7.2.6 sphinx-autobuild==2021.3.14 sphinx-copybutton==0.5.2 -pydata-sphinx-theme==0.15.4 +pydata-sphinx-theme==0.16 sphinx-serve==1.0.1 sphinx-tabs==3.4.4 sphinx_design==0.5.0 -- GitLab