Skip to content

docs(examples): regroup the gallery by computational task - #500

Draft
lkdvos wants to merge 1 commit into
mainfrom
docs/examples-regroup
Draft

docs(examples): regroup the gallery by computational task#500
lkdvos wants to merge 1 commit into
mainfrom
docs/examples-regroup

Conversation

@lkdvos

@lkdvos lkdvos commented Aug 3, 2026

Copy link
Copy Markdown
Member

Split out of #449 so it can be reviewed on its own. #449 depends on this one (its landing page and symmetry tutorial link to the regrouped example paths and to the new examples_index anchor), so this should merge first.

quantum1d and classic2d grouped examples by the physics of the model, which is not how a reader arrives: they come with a task ("I need a ground state", "I need finite temperature") and have to open every example to find out which one does it. Regrouped into groundstates, excitations, dynamics and statmech, with a one-paragraph summary per example in the gallery index so it can be scanned.

examples/make.jl now discovers groups by listing its own subdirectories instead of naming them, so adding a group needs no pipeline change.

Review notes

  • Most of the 89 files are pure renames. The real review surface is examples/make.jl, the gallery index.md, and the regenerated page diffs.
  • All ten examples were re-executed against current main; the committed pages are that output. Numbers moved in the last digits and groundstates/1.xxz-heisenberg converged to a slightly different VUMPS fixed point (41 → 60 iterations). No prose quotes an affected value.
  • Re-running also revealed that the previously committed rendered pages were stale relative to their own sources — they were missing typo fixes and a correlation_length(...; sector = leftunit(ψ)) update already present in the main.jl files.
  • examples/make.jl now normalizes source locations in captured log output. Rendered pages previously embedded the absolute checkout path and depot slug of whoever ran the pipeline (main currently ships a docs-improvement-plan worktree path), so the output differed per machine. Now └ @ MPSKit src/algorithms/groundstate/vumps.jl:87.

🤖 Generated with Claude Code

`quantum1d` and `classic2d` grouped by the physics of the model, which is not how a reader
arrives: they come with a task ("I need a ground state", "I need finite temperature") and
have to open every example to find out which one does it. Regroup into `groundstates`,
`excitations`, `dynamics` and `statmech`, and give the gallery index a one-paragraph summary
per example so it can be scanned.

`examples/make.jl` now discovers groups by listing its own subdirectories instead of naming
them, so adding a group needs no pipeline change. The gallery sidebar in `docs/make.jl`
mirrors the same grouping.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

After the build completes, the updated documentation will be available here

@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant