mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-22 17:47:48 -06:00
docs: point the site build and pages at sitegen
This commit is contained in:
1 parent
01ade3970c
commit
dc4fb652a6
4 files changed
+64
-21
No files matched your search
@@ -14,6 +14,7 @@ on:
|
||||
- "scripts/archive_build.py"
|
||||
- "scripts/build_port.py"
|
||||
- "scripts/core/__init__.py"
|
||||
- "scripts/core/anchors.py"
|
||||
- "scripts/core/artifacts.py"
|
||||
- "scripts/core/cli.py"
|
||||
- "scripts/core/crypto_verify.py"
|
||||
@@ -36,10 +37,12 @@ on:
|
||||
- "scripts/model/__init__.py"
|
||||
- "scripts/model/alternatives.py"
|
||||
- "scripts/model/cliargs.py"
|
||||
- "scripts/model/collection.py"
|
||||
- "scripts/model/composition.py"
|
||||
- "scripts/model/database.py"
|
||||
- "scripts/model/declarations.py"
|
||||
- "scripts/model/dumpcatalog.py"
|
||||
- "scripts/model/guides.py"
|
||||
- "scripts/model/largefiles.py"
|
||||
- "scripts/model/nodedup.py"
|
||||
- "scripts/model/platforms.py"
|
||||
@@ -48,8 +51,10 @@ on:
|
||||
- "scripts/model/registry.py"
|
||||
- "scripts/model/retired.py"
|
||||
- "scripts/model/safeparse.py"
|
||||
- "scripts/model/siteinputs.py"
|
||||
- "scripts/model/sourceref.py"
|
||||
- "scripts/model/sources.py"
|
||||
- "scripts/model/systemnames.py"
|
||||
- "scripts/model/systems.py"
|
||||
- "scripts/model/targets.py"
|
||||
- "scripts/packs/__init__.py"
|
||||
@@ -95,23 +100,60 @@ on:
|
||||
- "scripts/restore_large_files.py"
|
||||
- "scripts/romset_recipes.py"
|
||||
- "scripts/site_markdown.py"
|
||||
- "scripts/siteagents.py"
|
||||
- "scripts/sitebootstrap.py"
|
||||
- "scripts/sitecollection.py"
|
||||
- "scripts/sitediagrams.py"
|
||||
- "scripts/siteentries.py"
|
||||
- "scripts/siteexports.py"
|
||||
- "scripts/siteguides.py"
|
||||
- "scripts/sitehandheld.py"
|
||||
- "scripts/siteinputs.py"
|
||||
- "scripts/sitemarkup.py"
|
||||
- "scripts/sitemeasurements.py"
|
||||
- "scripts/siterender.py"
|
||||
- "scripts/sitesources.py"
|
||||
- "scripts/sitestarlight.py"
|
||||
- "scripts/sitesteps.py"
|
||||
- "scripts/sitewanted.py"
|
||||
- "scripts/sitewrite.py"
|
||||
- "scripts/sitegen/__init__.py"
|
||||
- "scripts/sitegen/agents.py"
|
||||
- "scripts/sitegen/apiitems.py"
|
||||
- "scripts/sitegen/bootstrap.py"
|
||||
- "scripts/sitegen/build.py"
|
||||
- "scripts/sitegen/cards.py"
|
||||
- "scripts/sitegen/config.py"
|
||||
- "scripts/sitegen/consolecards.py"
|
||||
- "scripts/sitegen/crossref.py"
|
||||
- "scripts/sitegen/dataexports.py"
|
||||
- "scripts/sitegen/datapage.py"
|
||||
- "scripts/sitegen/decorate.py"
|
||||
- "scripts/sitegen/descriptions.py"
|
||||
- "scripts/sitegen/diagrams.py"
|
||||
- "scripts/sitegen/emulatorcards.py"
|
||||
- "scripts/sitegen/emulatorpage.py"
|
||||
- "scripts/sitegen/emulatorsindex.py"
|
||||
- "scripts/sitegen/entries.py"
|
||||
- "scripts/sitegen/exports.py"
|
||||
- "scripts/sitegen/fields.py"
|
||||
- "scripts/sitegen/gaps.py"
|
||||
- "scripts/sitegen/getpages.py"
|
||||
- "scripts/sitegen/guidepage.py"
|
||||
- "scripts/sitegen/guides.py"
|
||||
- "scripts/sitegen/handheld.py"
|
||||
- "scripts/sitegen/home.py"
|
||||
- "scripts/sitegen/install.py"
|
||||
- "scripts/sitegen/lookup.py"
|
||||
- "scripts/sitegen/markup.py"
|
||||
- "scripts/sitegen/measurements.py"
|
||||
- "scripts/sitegen/nav.py"
|
||||
- "scripts/sitegen/pagemarkdown.py"
|
||||
- "scripts/sitegen/parts.py"
|
||||
- "scripts/sitegen/places.py"
|
||||
- "scripts/sitegen/platformfiles.py"
|
||||
- "scripts/sitegen/platformindex.py"
|
||||
- "scripts/sitegen/platformpage.py"
|
||||
- "scripts/sitegen/provenance.py"
|
||||
- "scripts/sitegen/publish.py"
|
||||
- "scripts/sitegen/readme.py"
|
||||
- "scripts/sitegen/reference.py"
|
||||
- "scripts/sitegen/render.py"
|
||||
- "scripts/sitegen/sources.py"
|
||||
- "scripts/sitegen/starlight.py"
|
||||
- "scripts/sitegen/startwith.py"
|
||||
- "scripts/sitegen/steps.py"
|
||||
- "scripts/sitegen/structured.py"
|
||||
- "scripts/sitegen/systempages.py"
|
||||
- "scripts/sitegen/systemsindex.py"
|
||||
- "scripts/sitegen/validate.py"
|
||||
- "scripts/sitegen/versions.py"
|
||||
- "scripts/sitegen/wanted.py"
|
||||
- "scripts/sitegen/whichpack.py"
|
||||
- "scripts/sitegen/write.py"
|
||||
- "scripts/validate_schemas.py"
|
||||
- "scripts/validate_site.py"
|
||||
- "schemas/**"
|
||||
|
||||
@@ -304,7 +304,7 @@ how the installer finds the folder goes in `reference_notes`, which open the
|
||||
Reference part of the page. The guide part of every setup page is held to the
|
||||
word budgets of [Pages for newcomers](testing-guide.md#pages-for-newcomers).
|
||||
|
||||
`scripts/siteguides.py` loads the file and stops the build with the key at
|
||||
`scripts/model/guides.py` loads the file and stops the build with the key at
|
||||
fault: a registered platform without a guide, a guide for no registered
|
||||
platform, a misspelt key, an unknown terminal, a group the file does not
|
||||
describe. `tests/test_site_content_data.py` also fails when a script holds a
|
||||
|
||||
@@ -38,6 +38,7 @@ scripts/ all tooling (Python and pyyaml, jsonschema for schema c
|
||||
scraper/ upstream scrapers (libretro, batocera, recalbox...)
|
||||
scraper/targets/ hardware target scrapers (one *_targets_scraper.py per platform)
|
||||
exporter/ native format exporters (batocera, recalbox, emudeck...)
|
||||
sitegen/ the site and README generators: pages, navigation, data files
|
||||
install/ JSON install manifests per platform
|
||||
targets/ JSON target manifests per platform (cores per architecture)
|
||||
install.py the installer, with install.sh and install.ps1 to start it,
|
||||
@@ -72,7 +73,7 @@ the card's anchor, under its console or a Files heading, and every platform
|
||||
system a heading of its own: a file name typed in the search opens that card,
|
||||
not the top of the page. On pages of cards (systems, emulators, platforms) the
|
||||
table of contents stops at level 2, and a page of cards under one or two
|
||||
headings has none (`scripts/sitestarlight.py`).
|
||||
headings has none (`scripts/sitegen/starlight.py`).
|
||||
|
||||
The search is Pagefind, which loads its index in pieces: the words typed pick
|
||||
the chunks it fetches. The index holds names and prose only. Hashes, lists of
|
||||
@@ -81,7 +82,7 @@ other pages, install commands, member tables and long reference tables carry
|
||||
reads one shard of `api/v1/lookup/` named by the first two characters of the
|
||||
value.
|
||||
|
||||
A page has a budget, set by constants in `scripts/generate_site.py`. A
|
||||
A page has a budget, set by constants in `scripts/sitegen/`. A
|
||||
manufacturer page over `SYSTEM_PAGE_BUDGET` becomes a summary: its largest
|
||||
consoles move to pages of their own, cut into parts when one console alone is
|
||||
over the budget, and every console keeps its heading on the summary. An
|
||||
|
||||
+1
-1
@@ -1092,7 +1092,7 @@ merge cleanly: `.gitattributes` marks `measurements/*.jsonl` `merge=union`.
|
||||
same rules, written by `campaign.py`, and no profile takes those names.
|
||||
|
||||
`generate_site.py` compiles the records into files it never commits
|
||||
(`sitemeasurements.py`): `public/data/measurements/index.json` (one item per
|
||||
(`sitegen/measurements.py`): `public/data/measurements/index.json` (one item per
|
||||
emulator and subject, its latest record not superseded, with method, host and
|
||||
the permalink of its line), `public/downloads/measurements.sqlite`
|
||||
(normalised tables, indexed on emulator, system and claim, `meta` naming the
|
||||
|
||||
Reference in new issue
Block a user