Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 2e609858 authored by Deepak Khatri's avatar Deepak Khatri :dog:
Browse files

Update theme version and fix typo

parent 8539eec2
Branches
Tags
1 merge request!175PB2 documentation and UI changes
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
let currentUrl = window.location.href; let currentUrl = window.location.href;
// Flag to check if valid redirect is found // Flag to check if valid redirect is found
let redirectFount = false; let redirectFound = false;
// Iterate over the redirect_folders key-value pairs // Iterate over the redirect_folders key-value pairs
for (const [key, value] of Object.entries(redirectFolders)) { for (const [key, value] of Object.entries(redirectFolders)) {
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
.then(response => { .then(response => {
if (response.ok) { if (response.ok) {
// Valid redirect is found // Valid redirect is found
let redirectFount = true; let redirectFound = true;
// Update the heading with the correct information // Update the heading with the correct information
const headingElement = document.getElementById('pageHeading'); const headingElement = document.getElementById('pageHeading');
if (headingElement) { if (headingElement) {
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
clearInterval(countdownInterval); clearInterval(countdownInterval);
window.location.href = newUrl; window.location.href = newUrl;
} }
}, 1000); }, 1000);5.4
// Event listener for "Redirect Now" button // Event listener for "Redirect Now" button
document.getElementById('redirectNow').addEventListener('click', () => { document.getElementById('redirectNow').addEventListener('click', () => {
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
} }
} }
if (!redirectFount) { if (!redirectFound) {
// In case the link test doesn't include redirectFolders // In case the link test doesn't include redirectFolders
const headingElement = document.getElementById('pageHeading'); const headingElement = document.getElementById('pageHeading');
if (headingElement) { if (headingElement) {
......
...@@ -20,7 +20,7 @@ snowballstemmer==2.2.0 ...@@ -20,7 +20,7 @@ snowballstemmer==2.2.0
Sphinx==7.2.6 Sphinx==7.2.6
sphinx-autobuild==2021.3.14 sphinx-autobuild==2021.3.14
sphinx-copybutton==0.5.2 sphinx-copybutton==0.5.2
pydata-sphinx-theme==0.15.4 pydata-sphinx-theme==0.16
sphinx-serve==1.0.1 sphinx-serve==1.0.1
sphinx-tabs==3.4.4 sphinx-tabs==3.4.4
sphinx_design==0.5.0 sphinx_design==0.5.0
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment