diff --git a/documentation/sphinx-static/switchers.js.in b/documentation/sphinx-static/switchers.js.in index 1e523a188f..8c016859bc 100644 --- a/documentation/sphinx-static/switchers.js.in +++ b/documentation/sphinx-static/switchers.js.in @@ -233,7 +233,7 @@ by https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/run-docs-b $.each(switcher_versions, function(version, vers_data) { var series = version.substr(0, 3); if (series == current_series) { - if (version != release) { + if (version != release && release.endsWith('.999') == false) { $('#outdated-warning').html('This document is for outdated version ' + release + ', you should select the latest release version in this series, ' + version + '.'); $('#outdated-warning').css('padding', '.5em'); return false;