diff --git a/docs/site/_includes/compatibility.html b/docs/site/_includes/compatibility.html index 6c22511b7c..c2f273b10f 100644 --- a/docs/site/_includes/compatibility.html +++ b/docs/site/_includes/compatibility.html @@ -87,7 +87,7 @@ const parts = item.name.split('.'); const package_name = parts[0]; const version = parts.slice(1, -1).join('.') || DB.ANY_VERSION; - packages.push(`${package_name},${version},0,${BUILD_SCRIPT_AVAILABLE(item.html_url)}`); + packages.push(`${package_name},${version},,${BUILD_SCRIPT_AVAILABLE(item.html_url)}`); } resolve(packages.join("\n")); } else { @@ -116,7 +116,7 @@ patches.push( [currentPatch.name, currentPatch.version, - 0, + '', currentPatch.comment || PATCH_AVAILABLE].join(",") ) } @@ -143,7 +143,7 @@ patches.push( [currentPatch.name, currentPatch.version, - 0, + '', currentPatch.comment || PATCH_AVAILABLE].join(",") ) } @@ -285,11 +285,11 @@ load_db(graalpyModuleValue).then(function (db_contents) { database = new DB("python", db_contents); const rowsPerPage = getRowsPerPage(); - let count = 0; let countCompatible = 0; let countUntested = 0; let countIncompatible = 0; let countNotSupported = 0; + let tableRowCount = 0; $('#dataTable tbody').empty(); for (let package in database.db) { const versions = database.db[package]; @@ -300,7 +300,7 @@ if (versionA > versionB) return 1; return 0; }); - versions_loop: for (const version of version_keys) { + for (const version of version_keys) { if (version.startsWith('~')) { continue; } @@ -310,18 +310,16 @@ countCompatible++; break; case 1: - countUntested++; + countIncompatible++; break; case 2: - countIncompatible++; + countUntested++; break; case 3: countNotSupported++; break; - default: - continue versions_loop; } - const styling = count++ < rowsPerPage ? '' : ' style="display: none;"'; + const styling = tableRowCount++ < rowsPerPage ? '' : ' style="display: none;"'; const highlight = ''.repeat(Math.ceil(info.highlight)); $('#dataTable tbody').append(`