1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/admin/tree-sitter/compat-template.html
Peter Oliver 96858b9ced Show also tagged versions on Tree-sitter compatibility report
* admin/tree-sitter/compat-template.html: Accommodate two tables.
* admin/tree-sitter/treesit-admin.el
(treesit-admin--find-latest-compatible-revision): Pass through new arg
REVISION-TYPE.
(treesit-admin--last-compatible-grammar-for-modes): Optionally iterate
over tagged rather than all commits.
(treesit-admin--generate-compatibility-report): Generate a second table,
showing only tagged commits (bug#78848).
2025-06-23 09:47:34 +03:00

41 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Emacs tree-sitter grammar version compatibility report</title>
<style>
body {
width: min(90vw, 40rem);
margin: auto;
margin-top: 2rem;
margin-bottom: 2rem;
font-family: ui-serif;
}
thead {
font-weight: bold;
}
table {
display: inline-block;
margin: auto;
}
table caption {
font-weight: bold;
}
table td {
padding: 0.5rem 1rem;
width: 10rem;
word-break: break-all;
}
.latest {
background: lightgreen;
}
</style>
</head>
<body>
<h1>Emacs tree-sitter grammar compatibility</h1>
<p>This is an auto-generated report of the last compatible version for each grammar in each Emacs version. A <span class="head">green background</span> on the version indicates that the Emacs version is compatible with the latest commit/tag in the upstream grammar repo.</p>
<p>This report is generated on ___REPLACE_TIME___.</p>
___REPLACE_TABLE___
</body>
</html>