Skip to content

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

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 3e4f703 in QuantEcon/lecture-python-programming.

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-programming -t lecture-python-programming.fr -l fr -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-programming.fr --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>
@github-actions

Copy link
Copy Markdown

📖 Netlify Preview Ready!

Preview URL: https://pr-108--verdant-toffee-3261a8.netlify.app

Commit: da19295


Build Info

@mmcky
mmcky merged commit f6538c8 into main Nov 16, 2026
2 checks passed
@mmcky
mmcky deleted the gpu-state-file branch November 16, 2026 09:23
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