mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-27 11:58:53 -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
@@ -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