`;
}
metadataElement.innerHTML = metadataContent;
// Insert after the main heading
pageHeader.parentNode.insertBefore(metadataElement, pageHeader.nextSibling);
// Update styles for dark mode if needed
updatePageMetadataStyles();
}
}
// Dark mode styles are now handled via CSS classes — no JS needed
function updatePageMetadataStyles() {}
// Listen for theme changes to update styles
const observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (mutation.attributeName === 'class') {
updateVersionSwitcherStyles();
updatePageMetadataStyles();
}
});
});
observer.observe(document.body, {
attributes: true,
attributeFilter: ['class']
});
// Add version switcher after page loads
setTimeout(addVersionSwitcherToNavigation, 150);
setTimeout(addVersionSwitcherToNavigation, 600);
setTimeout(addVersionSwitcherToNavigation, 1200);
// Add icon to Documentation Versions link
setTimeout(addIconToDocVersionsLink, 100);
setTimeout(addIconToDocVersionsLink, 500);
setTimeout(addIconToDocVersionsLink, 1000);
// Add version notice banner
setTimeout(addVersionNoticeBanner, 200);
// Add page metadata (includes last updated date and version info)
setTimeout(addPageMetadata, 200);
});
404 - Page not found
Sorry, we couldn’t find the page you’re looking for.
The page you requested might have been moved, removed, or does not exist. Please check the URL or use the navigation menu to find what you’re looking for.