Skip to content

Retire the Jekyll home page: Verso site at the root, restyled API docs - #51

Merged
KellyJDavis merged 7 commits into
mainfrom
numina/aqft-in-lean
Oct 29, 2026
Merged

KellyJDavis merged 7 commits into
mainfrom
numina/aqft-in-lean

Conversation

@KellyJDavis

Copy link
Copy Markdown
Contributor

Completes the site consolidation (notes/agents/plan-site-consolidation-2026-10-29.md):

  • The Verso website is served at the root; the tutorial, reference manual, blueprint and API docs keep their paths. Redirect pages keep the old URLs (guide.html, axioms.html, sec10-*.html, site/) working, and a new 404 page matches the site.
  • blueprint.yml builds and deploys GitHub Pages itself (Lean build, Verso outputs, the pinned blueprint, the API docs as docgen-action builds them), without docgen-action or Jekyll; deployment runs only for main. A manual run of the new workflow on the branch built and uploaded the full artifact successfully.
  • The API docs get the shared header (with doc-gen4's search in it) and the site's fonts and colours (scripts/restyle_api_docs.py).
  • The website's feature cards link to the reference-manual chapters; the conventions chapter gains a map of blueprint Chapters 1–9.
  • The Lean and Mathlib versions are stated in README.md alone; the Jekyll sources in home_page/ are removed.

🤖 Generated with Claude Code

KellyJDavis and others added 7 commits October 29, 2026 07:12
- The six "What is formalised" cards open the top of the matching
  manual chapter, through one helper (Site.manualChapterUrl) so the
  site's later move to the root changes the paths in one place.
- Add the site consolidation plan and the stage 1 log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Conventions chapter: a map of blueprint Chapters 1-9 (whose items have
  no Lean), and the section-pages sentence points to the web blueprint
  and its dependency graph.
- The links in the manual, the landing page and the tutorial that
  pointed at Jekyll pages now point at manual chapters or the blueprint.
- Add the content audit and the stage 3 log; record the audit decisions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The website links to tutorial/ and manual/ from the root; the books
  link back with ../; the blueprint header and favicon no longer point
  at site/.
- web/redirects/: redirect pages for guide.html (to the conventions
  chapter), axioms.html, the eight sec10-*.html pages and site/, and a
  404 page in the site style. Deployment copies them in stage 5.
- Tested locally in the deployed layout: 407 pages crawled, all
  redirects land on their targets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- blueprint.yml builds and deploys GitHub Pages itself: the Lean build,
  the Verso site, tutorial and manual, the pinned blueprint, the API
  docs (built as docgen-action's build_docs.sh does, same cache key),
  assembled into one directory with the website at the root and the
  redirects and 404 page copied in, then upload-pages-artifact and
  deploy-pages. Deployment runs only for main; a manual run on a branch
  builds and uploads without deploying. No Jekyll, no ubuntu-24.04 pin.
- A commented hook for the API-docs restyle (stage 6).
- lean_action_ci.yml wording, .gitignore and web/README.md updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scripts/restyle_api_docs.py gives every doc-gen4 page the shared header
(API docs current, doc-gen4's search folded into it) and the site's
fonts and colours with a synchronised theme switch; run by the
deployment workflow before upload. Idempotent; about 1 s on 5,904 pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The Lean and Mathlib versions are stated in README.md alone: the
  Chapter 10 introduction refers to it, and the check script's
  VERSION_HOMES is README.md only.
- Remove the Jekyll home page (home_page/); the Verso website, redirects
  and 404 page replace it. The check script no longer scans home_page.
- CHANGELOG entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@KellyJDavis
KellyJDavis merged commit 3266626 into main Oct 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant