Skip to content

Automatic ITensorFormatter run#18

Closed
mtfishman wants to merge 1 commit intomainfrom
auto-format-pr
Closed

Automatic ITensorFormatter run#18
mtfishman wants to merge 1 commit intomainfrom
auto-format-pr

Conversation

@mtfishman
Copy link
Copy Markdown
Member

Automated changes by create-pull-request GitHub action

mtfishman added a commit that referenced this pull request Apr 25, 2026
## Summary

- The previous `examples/README.jl` was the bare ITensorPkgSkeleton
template stub (added to unblock the docs build, since `make_index!`
requires that input file). Every `itpkgfmt` run regenerated `README.md`
from the stub, which was about to wipe the actual usage prose and
`@visualize` examples that lived in `README.md` on main — see #18 for
the regeneration that captured the deletion.
- This PR moves the description, the UnicodePlots contraction example,
the GLMakie backend example, and the backend-switching session into
`examples/README.jl` as Literate input. The contraction setup and both
`@visualize` calls are bare Julia so they execute as part of the shared
`ITensorPkgSkeleton.runtests` examples sweep. Output blocks (ASCII art,
GLMakie window snippet, `julia>` prompts) stay wrapped in `#= ... =#` so
they pass through as raw markdown without trying to execute.
- Image references switch to absolute `raw.githubusercontent.com` URLs
so the same source renders correctly in both `README.md` and
`docs/src/index.md`.

Closes #18.

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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