mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 14:28:54 -06:00
refactor: carry the site's page state on the run
Eleven module globals in descriptions, decorate, emulatorpage and emulatorcards held what one build records about its pages, filled by build.py and as a side effect of two renderers. They now live on a PageRegistry the run carries and passes to the renderers and to decorate_markdown_pages. get/ pages return their date (get_page_data) instead of writing it, and a card reads the data directory members from its CardSources. A second build in one process no longer inherits the first one's maps, and tests build the input instead of patching globals.
This commit is contained in:
1 parent
6f8e2f90c1
commit
6e8ef2650f
19 files changed
+253
-242
No files matched your search
@@ -178,6 +178,7 @@ on:
|
||||
- "scripts/sitegen/nav.py"
|
||||
- "scripts/sitegen/pagemarkdown.py"
|
||||
- "scripts/sitegen/pageprep.py"
|
||||
- "scripts/sitegen/pageregistry.py"
|
||||
- "scripts/sitegen/parts.py"
|
||||
- "scripts/sitegen/places.py"
|
||||
- "scripts/sitegen/platformfiles.py"
|
||||
|
||||
Reference in new issue
Block a user