Repository navigation
docs: point The Python API at the workspace script that carries its code - #1590
Merged
Merged
Conversation
Every snippet on the page exists as a runnable script and notebook in autofit_workspace; the page never said so, and its only pointer at the workspace was a generic repo link in the Resources section at the bottom. Links scripts/overview/overview_1_the_basics.py and the matching notebook from the page intro, plus the Colab route. The Colab URL is pinned to 2026.9.8.1 to match the convention already used in docs/index.md and README.md, rather than introducing a second, main-tracking form. The workspace files keep the "the_basics" name — renaming them is separate work in a separate repo (noted when this page was renamed in #1588). Sphinx: 30 warnings, unchanged against the baseline. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LXave3uvSeLEq7S68NjXk
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.
Summary
Every code snippet on The Python API page exists as a runnable script and notebook in
autofit_workspace, but the page never said so — its only pointer at the workspace was a generic repo link in the Resources section at the very bottom.The intro now links:
scripts/overview/overview_1_the_basics.pynotebooks/overview/overview_1_the_basics.ipynbNote on the two URL forms
The GitHub source links track
main(you want to read the current code), while the Colab link is pinned to2026.9.8.1— matching the convention already used indocs/index.mdandREADME.md. Pinning matters there: Colab installs the released library, so an unpinned notebook can use API that is onmainbut not yet published. I matched the existing convention rather than introducing a second, main-tracking form.The workspace files keep their
the_basicsname. Renaming them is separate work in a separate repo, flagged when this page was renamed in #1588.Test Plan
2026.9.8.1returns 200.python -m sphinx -b html docs …→ 30 warnings, unchanged against the baseline.🤖 Generated with Claude Code
https://claude.ai/code/session_015LXave3uvSeLEq7S68NjXk