https://github.com/carla-simulator/carla
Raw File
Tip revision: 1ec58b4cf598c479b0c72a4c9a58b46e3a9107ba authored by JoseM98 on 18 April 2024, 11:46:04 UTC
Merge with dev
Tip revision: 1ec58b4
extra.js
$(document).ready(function () {
    if(window.location.href.indexOf("/latest/") != -1) {
        var banner = document.createElement("div");
        var section = document.getElementsByClassName("section");
        banner.className = "dev-version-warning";
        banner.innerHTML = "You are currently reading documentation for the \"dev\" branch of CARLA. This documentation refers to features currently in development and may result in unexpected behaviour. To read documentation for previous releases, select the desired version in the bottom, right-hand corner of the screen.";
        section[0].insertBefore(banner,section[0].childNodes[0]);
    }
});
back to top