Repository navigation
Drop the missing source/_static from tojupyter_static_file_path - #409
Merged
Merged
Conversation
lectures/source/_static does not exist, so every notebook build logged "tojupyter_static_path entry .../lectures/source/_static does not exist". sphinx-tojupyter copies only the entries that exist, so dropping it changes nothing but the warning. See QuantEcon/actions#300. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMYFuqCc4A8Y1tGJoXT
✅ Deploy Preview for lustrous-melomakarona-3ee73e ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Contributor
There was a problem hiding this comment.
Note
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.
🟢 Approval recommended
The update simply drops an invalid static-path entry while retaining the valid _static directory, addressing recurring build warnings without affecting static asset copying.
No open issues 🎉
What changed in this PR
Removes a non-existent static-path entry from the Sphinx-to-Jupyter configuration to eliminate recurring notebook-build warnings without changing which static assets are copied.
Changes:
- Remove
source/_staticfromtojupyter_static_file_path. - Keep
_staticas the remaining valid static asset directory.
| File | Description |
|---|---|
| lectures/_config.yml | Updates tojupyter_static_file_path to drop the missing source/_static entry and retain the existing _static path to avoid notebook-build warnings. |
Review effort: Balanced
This was referenced Nov 11, 2026
This branch was previously deployed
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.
lectures/source/_staticdoes not exist, so every notebook build logsWARNING: tojupyter_static_path entry …/lectures/source/_static does not exist. This drops it fromtojupyter_static_file_pathinlectures/_config.yml, leaving_static, which does exist. sphinx-tojupyter copies only the entries that exist, so nothing changes but the warning.The warning has gone unnoticed because sphinx-tojupyter ends a notebook build with status 0 before
-W --keep-goingcan fail it. See QuantEcon/actions#300:build-lectureswill fail a jupyter build on a warning like this one, and QuantEcon/actions' lecture matrix builds this repository withbuild-lectures.Claude Code (on behalf of mmcky)
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMYFuqCc4A8Y1tGJoXT