Skip to content

docs: regenerate tutorial_0_visualization from the fixed generator - #84

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/howto-md-rerender
Sep 14, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/howto-md-rerender

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Follow-up to #82, clearing a known piece of debt it carried.

What this replaces

The markdown/chapter_1_introduction/tutorial_0_visualization.md that shipped in #82 was hand-patched. Rendering it from a task worktree leaked ~/Code/PyAutoLabs/PyAutoArray/autoarray/operators/convolver.py:1478 into 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 hits
  • The only absolute path remaining is the commented workspace_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_visualization in 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

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
@Jammy2211
Jammy2211 merged commit 77843c1 into main Sep 14, 2026
6 checks passed
@Jammy2211
Jammy2211 deleted the feature/howto-md-rerender branch September 14, 2026 22:44
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