window.addEventListener("DOMContentLoaded", function() { if(!window.location.pathname.endsWith("/latest/")){ document.querySelector("div[data-md-component=announce]").innerHTML = "
You are seeing the docs for a previous version of RAPIDS, click here to go to the latest
" } });