mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-23 20:29:06 -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
@@ -21,6 +21,7 @@ _TIMESTAMP_PATTERNS = [
|
||||
# The decorated pages carry the same stamp again as a rendered element,
|
||||
# and missing it rewrote every page on every run for the clock alone.
|
||||
re.compile(r'<div class="rb-timestamp">[^<]*</div>'),
|
||||
re.compile(r'<time datetime="[^"]*">Data as of [^<]*</time>'),
|
||||
]
|
||||
|
||||
def write_if_changed(
|
||||
|
||||
Reference in new issue
Block a user