feat: add persistent book navigation and public-only pages

This commit is contained in:
2026-10-15 17:53:48 +09:00
parent f6905074b1
commit 839eb2a6a4
22 changed files with 1191 additions and 269 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ test('Lyth Mono paths retain exact advance, row bounds and stroke dimensions', (
test('cell layout bypasses shaping, preserves spaces and fails for missing glyphs', () => {
close(box(glyphPath(' │')).x1, box(glyphPath('│')).x1 + 4 * cellWidth);
close(box(glyphPath('── ')).x2, 2 * cellWidth);
for (const prefix of ['├── ', '│ ├── ', '│ └── ', '│ └── ', ' └── ']) {
for (const prefix of ['├─ ', '│ ├─ ', '│ └─ ', ' └─ ', '├ ', '│ ├ ', '│ └ ', '│ └ ', ' └ ', '├── ', '│ ├── ', '│ └── ', '│ └── ', ' └── ']) {
const path = glyphPath(prefix);
assert.ok(path.length > 0);
assert.ok(!path.includes('NaN'));