The source of axmol home page, based on bootstrap 5.3.8
The homepage, V3 page, and Sponsor page use three shared readable HTML templates: templates/home.html, templates/v3.html, and templates/sponsor.html. Every locale renders from the same template for its page type. Human-facing text is stored in one JSON dictionary per language under i18n/, using ISO 639-1 file codes (en, zh, ja, es, ru) and matching globally unique four-character keys. Translation review should locate entries by their value and context, not by the opaque key.
To render or preview changes to localized copy or page templates, run ./build.ps1 with no arguments. This generates the static localized pages under dist/; documentation and WebAssembly artifacts are built only in CI when their explicit arguments are supplied.
https://axmol.dev Deployment Flow
-
The workflow
build.ymlis triggered by any of the following:- A push to this repository.
- Completion of the WebAssembly build in
axmolengine/axmol. - Manual execution by a user.
-
The CI pipeline:
- Merges the pages in this repository.
- Downloads WebAssembly artifacts from
axmolengine/axmolinto thedistdirectory.
-
The CI pipeline pushes the
distcontents to theaxmol-pagesbranch of the repositoryaxmolengine/axmol.dev.dist. -
Netlify automatically builds and deploys the
axmol-pagesbranch ofaxmolengine/axmol.dev.distto https://axmol.dev whenever a push event occurs on that branch.