fix: open each part of a split list on its own

The files-to-source table outgrew one page and split in two. Both
parts opened on the same intro, which is the page description, and
validate_site refused the duplicate. Each part now opens on "Part n of
N.". The element-budget exception for the unsplit table is gone: the
parts hold 8,987 and 7,674 elements.
This commit is contained in:
Abdessamad Derraz committed 2026-10-23 16:50:46 +02:00
1 parent c826e0fc05
commit 77d7ab36de
2 files changed
+5 -5

No files matched your search

+1 -4
View File
@@ -58,10 +58,7 @@ MAX_PAGE_BYTES = 1_000_000
# index now carries each card's id on the link itself.
MAX_PAGE_ELEMENTS = 10_000
# Pages allowed past it, each with the reason, removed when it comes under.
OVER_ELEMENT_BUDGET = {
# One table of every file to source, 10,193 elements on 2026-10-23.
"gaps-files-to-source/index.html": "the file table is not split",
}
OVER_ELEMENT_BUDGET: dict[str, str] = {}
# Pagefind loads its index in pieces: the metadata, then the chunks the words
# typed fall in (stored compressed). 59 KB for the largest chunk and 7.5 KB of
# metadata on 2026-10-22, 5.2 MB for the whole index on disk.