Skip to content

Conversation

@david-christiansen
Copy link
Collaborator

@david-christiansen david-christiansen commented Dec 15, 2025

This PR adds the tutorials site with deployment infrastructure.

This PR adds a tutorials site that is built alongside the reference manual.
Both sites are built together (due to cross-linking) but hosted at different URLs.
Concretely, each has its own Netlify site, and each of those is placed in the URL
hierarchy of lean-lang.org.

The mvcgen and IndexMap examples were moved to the tutorials site. This
presents them more appropriately and adds better testing, automatic live links,
and downloadable zip files of the projects.

Infrastructure changes:

  • Combined build: generate-html.sh builds both sites to html/site/reference/
    and html/site/tutorials/
  • New deployment branches: deploy-tutorials and postdeploy-tutorials
  • Updated release-tag.yml to deploy tutorials when new structure is detected
  • Updated overlay.yml to apply overlays to both sites
  • Updated upload-snapshots.yml to deploy tutorials to separate Netlify site
  • Modified overlay.py to identify version directories from both sites

Preview sites are generated with relative URLs for cross-references, while
production builds use version paths.

@david-christiansen david-christiansen added the HTML available HTML has been generated for this PR label Dec 16, 2025
@david-christiansen david-christiansen marked this pull request as ready for review January 15, 2026 13:20
@github-actions
Copy link
Contributor

Preview for this PR is ready! 🎉 (also as a proofreading version). built with commit b4b4478.

@david-christiansen david-christiansen added this pull request to the merge queue Jan 16, 2026
Merged via the queue into main with commit 0e34e21 Jan 16, 2026
12 checks passed
@david-christiansen david-christiansen deleted the tutorials branch January 16, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HTML available HTML has been generated for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants