The generated project documentation sites are pinned Git submodules under projects/ and
assembled into the main static export by project-sites.json.
- Update the upstream project first. Website or documentation changes belong in the upstream repository; this repository should only pin the resulting commit.
- Fetch the desired upstream commit and check it out in the submodule, for example:
git -C projects/math.gl fetch origin masterfollowed bygit -C projects/math.gl checkout <commit>. - Stage the gitlink from the vis.gl root with
git add projects/math.gl(and/orprojects/probe.gl,projects/deck.gl-community, orprojects/tangram.gl). The build script runsgit submodule updatefrom the index, so staging the new pin before runningyarn buildprevents the build from silently resetting it. - Start from a clean generated output directory (
rm -r out), then runyarn check. This installs each pinned project's dependencies, builds each website with its mount configuration, and assembles the results underout/. - Verify the root
out/robots.txtallows the main vis.gl pages and disallows each mirrored project path. Also verify each mounted site'sindex.htmlandrobots.txtexist, and that generated asset URLs use its configured mount path. - Commit the gitlink update together with any
project-sites.jsonorproject-site-configs/*.mjschanges, then open the vis.gl PR. Do not commit build output or changes made inside a submodule checkout.