diff --git a/scripts/compatibility_matrix.py b/scripts/compatibility_matrix.py index 5aa28f7..86afb07 100755 --- a/scripts/compatibility_matrix.py +++ b/scripts/compatibility_matrix.py @@ -137,7 +137,7 @@ def nexenta(): return sources -openzfs_key = 'OpenZFS
(Linux, FreeBSD 13+)' +openzfs_key = 'OpenZFS (Linux, FreeBSD 13+)' sources = { openzfs_key: openzfs(), 'FreeBSD pre OpenZFS': freebsd_pre_openzfs(), @@ -213,29 +213,35 @@ html.write(''' .no{background-color:lightsalmon} abbr{text-decoration: none} table{border-collapse:collapse;display:block;overflow-x:scroll;overflow-y:hidden;} +.name{max-width:19ch;} th,td{padding:0.2em 0.4em;border:1px solid #aaa;background-color:#f9f9f9} +.line:hover{filter:brightness(115%);} th{background-color:#eaecf0} .l{display:inline-block;text-align:right;min-width:''' + str(d_len) + '''ex;color:#777} .r{display:inline-block;text-align:left;min-width:''' + str(f_len) + '''ex} -.feature_col{min-width: ''' + str(f_len + d_len + 1) + '''ch;} +.feature_col{min-width: ''' + str(f_len + d_len + 1) + '''ch;} +.rotate{text-align:center;vertical-align:middle;} +.rotate span{writing-mode:vertical-rl;-webkit-writing-mode:vertical-rl; +transform:scale(-1);} +.rocol{min-width:2em;} ''') html.write('\n') html.write('') -html.write('') +html.write('') for name, vers in header: - html.write('') html.write('\n') for _, vers in header: for ver in vers: - html.write('') + html.write('') html.write('\n') for (feature, domain), names in sorted(features.items()): guid = domain + ':' + feature - html.write(f'') + html.write(f'') if readonly[guid]: html.write('') else:
Feature FlagRead-Only
Compatible
Read-Only
Compatible
' + html.write('' + name + '
' + ver + '' + ver + '
{domain}:{feature}
{domain}:{feature}yes