Skip to content

Drop the missing source/_static from tojupyter_static_file_path - #409

Merged
mmcky merged 1 commit into
mainfrom
fix/tojupyter-static-path
Nov 11, 2026
Merged

mmcky merged 1 commit into
mainfrom
fix/tojupyter-static-path

Conversation

@mmcky

@mmcky mmcky commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

lectures/source/_static does not exist, so every notebook build logs WARNING: tojupyter_static_path entry …/lectures/source/_static does not exist. This drops it from tojupyter_static_file_path in lectures/_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-going can fail it. See QuantEcon/actions#300: build-lectures will fail a jupyter build on a warning like this one, and QuantEcon/actions' lecture matrix builds this repository with build-lectures.

Claude Code (on behalf of mmcky)

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMYFuqCc4A8Y1tGJoXT

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
Copilot AI balanced review requested due to automatic review settings November 11, 2026 00:51
@netlify

netlify Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for lustrous-melomakarona-3ee73e ready!

Name Link
🔨 Latest commit e95e07b
🔍 Latest deploy log https://app.netlify.com/projects/lustrous-melomakarona-3ee73e/deploys/6af3bc1db620470d82ff711e
😎 Deploy Preview https://deploy-preview-409--lustrous-melomakarona-3ee73e.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions
github-actions Bot temporarily deployed to pull request November 11, 2026 01:02 Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/_static from tojupyter_static_file_path.
  • Keep _static as 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

@mmcky
mmcky merged commit d35e11e into main Nov 11, 2026
10 checks passed
@mmcky
mmcky deleted the fix/tojupyter-static-path branch November 11, 2026 01:40

This branch was previously deployed

1 inactive deployment
pull request — e95e07b3 Deployed Nov 11, 2026 by github-actions[bot]
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.

2 participants