fix: date pages in words and count setups once

Every page closed on a raw ISO stamp. It now reads data_as_of(), which
write_if_changed ignores as it ignored the old stamp. The diagram text
counts setups with setup_count(), and the data model page names the
Data and API page by its title.
This commit is contained in:
Abdessamad Derraz committed 2026-10-23 07:12:15 +02:00
1 parent bb13e7b5f9
commit 6cac923a91
3 files changed
+20 -12

No files matched your search

+3 -1
View File
@@ -330,7 +330,9 @@ def setups() -> tuple[str, ...]:
def setups_named(named: list[str]) -> str:
"""*named*, then how many other setups there are: "A, B and 15 more"."""
others = len(setups()) - len(named)
from siteguides import setup_count
others = setup_count() - len(named)
return ", ".join(named) + (f" and {others} more" if others else "")