[docs] Render Python-only tutorial lessons (lesson_15_runtime) in the docs - #9408
Open
derek-gerstmann wants to merge 1 commit into
Open
[docs] Render Python-only tutorial lessons (lesson_15_runtime) in the docs#9408derek-gerstmann wants to merge 1 commit into
derek-gerstmann wants to merge 1 commit into
Conversation
The Sphinx tutorial generator discovered lessons from C++/shell sources and attached a Python translation only by matching stems, so the one Python-only lesson -- lesson_15_runtime, covering the standalone halide.runtime module -- was never rendered. Teach discover_lessons() to also pick up lesson_*.py files with no C++ counterpart and render them as Python-only pages, register lesson_15_runtime as a tutorial source in doc/CMakeLists.txt so a page is generated for it, and complete its title comment to match the `lesson N: Title` convention. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
5 tasks
alexreinking
approved these changes
Aug 28, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9408 +/- ##
==========================================
- Coverage 70.17% 70.03% -0.15%
==========================================
Files 261 261
Lines 79396 79396
Branches 19358 19358
==========================================
- Hits 55717 55604 -113
- Misses 17896 17915 +19
- Partials 5783 5877 +94 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
The Sphinx tutorial generator discovered lessons from C++/shell sources and attached a Python translation only by matching stems, so the one Python-only lesson -- lesson_15_runtime, covering the standalone halide.runtime module -- was never rendered. Teach discover_lessons() to also pick up lesson_*.py files with no C++ counterpart and render them as Python-only pages, register lesson_15_runtime as a tutorial source in doc/CMakeLists.txt so a page is generated for it, and complete its title comment to match the
lesson N: Titleconvention.Checklist