Skip to content

Add the state file for _admonition/gpu.md - #321

Merged
mmcky merged 1 commit into
mainfrom
gpu-state-file
Nov 16, 2026
Merged

mmcky merged 1 commit into
mainfrom
gpu-state-file

Conversation

@mmcky

@mmcky mmcky commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

This adds one file, .translate/state/_admonition/gpu.md.yml, the state file for the translated GPU admonition. It is the only lecture in the edition without one, so with it the edition passes translate doctor --require-state, which is planned to become a required check. See QuantEcon/action-translation#370 and QuantEcon/action-translation#460.

The translation itself is unchanged. It already carries the English's January 2026 wording ("although it will also run without one"), and translate status reports the file as aligned. The state file records the English commit 1f6b3fa in QuantEcon/lecture-python.myst.

How it was made, with the CLI at QuantEcon/action-translation a7254cf and full (not shallow) clones of both repositories at main: translate status -s lecture-python.myst -t lecture-python.zh-cn -l zh-cn -d lectures -f _admonition/gpu.md --write-state, then git checkout -- .translate/config.yml to undo the config rewrite that --write-state always makes. Afterwards translate doctor -t lecture-python.zh-cn --require-state passes, exit 0.

@mmcky reviews this before it merges.

🤖 Generated with Claude Code

Written by translate status --write-state (action-translation a7254cf), so the edition passes translate doctor --require-state. See QuantEcon/action-translation#370.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for astonishing-narwhal-a8fc64 ready!

Name Link
🔨 Latest commit e84db9d
🔍 Latest deploy log https://app.netlify.com/projects/astonishing-narwhal-a8fc64/deploys/6afac64b63715d38706f602f
😎 Deploy Preview https://deploy-preview-321--astonishing-narwhal-a8fc64.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

Copy link
Copy Markdown

@github-actions
github-actions Bot temporarily deployed to pull request November 16, 2026 09:07 Inactive
@mmcky
mmcky merged commit d4571f5 into main Nov 16, 2026
7 checks passed
@mmcky
mmcky deleted the gpu-state-file branch November 16, 2026 09:23

This branch was previously deployed

1 inactive deployment
pull request — e84db9dc Deployed Nov 16, 2026 by github-actions[bot]
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