mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-29 23:27:19 -05:00
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:
1 parent
bb13e7b5f9
commit
6cac923a91
3 files changed
+20
-12
No files matched your search
@@ -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 "")
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user