Repository navigation
docs: regenerate tutorial_0_visualization from the fixed generator - #84
Merged
Merged
Conversation
The page shipped in #82 was hand-patched. Rendering it from a task worktree leaked ~/Code/PyAutoLabs/PyAutoArray/.../convolver.py into the output, and the line was corrected by hand to the form a canonical render produces. The content was right, but the file was no longer byte-identical to generator output, so the next worktree render would have reintroduced the leak. PyAutoHands#281 fixed the generator (redaction roots now derived from where the checkouts are, plus a guard that fails the build rather than publishing a machine layout). This is that page, regenerated rather than repaired. No hand edits. The warning block is gone entirely this run, and the only absolute path left on the page is the commented example workspace_path the tutorial deliberately shows the reader. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014ujQLXo85GNH7tG5eaNJ65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #82, clearing a known piece of debt it carried.
What this replaces
The
markdown/chapter_1_introduction/tutorial_0_visualization.mdthat shipped in #82 was hand-patched. Rendering it from a task worktree leaked~/Code/PyAutoLabs/PyAutoArray/autoarray/operators/convolver.py:1478into the published page, and the line was corrected by hand to the form a canonical-checkout render produces.The content was right, but the file was no longer byte-identical to generator output — so the next worktree render would have reintroduced the leak, and a reviewer comparing the page to the generator would have found a discrepancy with no explanation in the tree.
PyAutoLabs/PyAutoHands#281 fixed the generator itself (redaction roots derived from where the checkouts actually are, plus a guard that fails the build rather than publishing a machine layout). This is that page regenerated rather than repaired.
Result
4 files, 8 deletions plus two regenerated figures. The warning block is gone from the page entirely this run, so the hand-patched line no longer exists rather than merely being correct.
Verified on the rendered page:
/home/,~/Code,PyAutoLabs-wt: zero hitsworkspace_path = "/Users/Jammy/Code/PyAuto/HowToLens"the tutorial deliberately shows the reader — authored teaching material, in the source on purpose.No hand edits to any generated file.
Note
That authored example path is also what exposed a bug in #281's own guard: it flagged the line as a leak and failed the build for
tutorial_0_visualizationin both this repo and HowToGalaxy. Fixed in a follow-up PR against PyAutoHands — the guard now exempts paths present verbatim in the script being rendered, since only paths the execution introduced can be leaks. This page was rendered with that fix in place.🤖 Generated with Claude Code
https://claude.ai/code/session_014ujQLXo85GNH7tG5eaNJ65