Skip to content

Drop the missing source/_static from tojupyter_static_file_path - #659

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT8bMYFuqCc4A8Y1tGJoXT
Copilot AI balanced review requested due to automatic review settings November 11, 2026 00:51

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 change is a straightforward configuration cleanup (removing a non-existent static-path entry) with no review evidence of remaining problems or unresolved concerns.

No open issues 🎉

What changed in this PR

Removes a non-existent static-path entry from the sphinx-tojupyter configuration so notebook builds no longer emit a warning about lectures/source/_static.

Changes:

  • Drop source/_static from tojupyter_static_file_path, leaving only the existing _static entry.
File Description
lectures/​_config.yml Removes the missing source/_static entry from tojupyter_static_file_path to prevent sphinx-tojupyter warnings during notebook builds.

Review effort: Balanced

@github-actions

Copy link
Copy Markdown

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 change is a narrow configuration cleanup that removes only an invalid static-path entry to eliminate recurring build warnings while keeping the existing static asset path unchanged, and no active issues were identified in the review evidence.

No open issues 🎉

Review effort: Balanced

@mmcky
mmcky merged commit 426fb42 into main Nov 11, 2026
6 checks passed
@mmcky
mmcky deleted the fix/tojupyter-static-path branch November 11, 2026 01:29
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