Remove daily survers from outro pages#503
Merged
Conversation
removed 2025 schedule update language
Update daily_schedules.md
Jupyter book 2
fix: convert JB1 sections→children in TOC, add book/ symlinks in work…
fix: add skip-execution tag to NotImplementedError stub cells for JB2…
…rip error divs (matches JB1 allow_errors behaviour)
Jupyter book 2
Update generate_book_v2 and error parsing v2
Update generate_book_v2 and error parsing v2 to fix bugs
- generate_book_v2.py: add &autoplay=0 to Bilibili iframe URL so the player does not autoplay when the tab becomes visible - parse_html_for_errors_v2.py: rewrite path discovery to walk book/_build/html/** instead of reconstructing input-derived paths; JB2/MyST flattens output to slug/index.html so the old materials.yml-based paths never matched, leaving all stub errors visible in the built site
Print count of index.html files found (or fail fast with clear error if the HTML root directory doesn't exist) so we can confirm the walk is finding the right path in CI.
Jupyter book 2
- generate_book_v2.py: move logo/favicon/logo_text into site.options (MyST book-theme requires these as options, not top-level site keys; favicon was rendering as /favicon.ico instead of the ai-logo.png) - schedule_intro.md, tech_intro.md: add short_title: Overview frontmatter so sidebar shows 'Overview' instead of 'Schedule'/'Technical Help' (which duplicated the parent section folder label)
generate_book_v2.py: - hide_title_block: true — MyST keeps the notebook H1 in the cell body for .ipynb files (unlike .md), so the auto-rendered myst-fm-block-title appeared as a second identical heading above the article; suppress it - edit_url: null — auto-computed edit URL gets a spurious book/ prefix from the book/tutorials symlink, producing a 404 GitHub path publish-book-v2.yml: - Bump cache key from jb2-exec- to jb2-exec-v2- to bust the execution cache; prior cached executions predate the raises-exception tagging and error-stripping fixes, leaving visible NotImplementedError tracebacks on pages that were cache-hit rather than re-executed (W1D2 and others)
Jupyter book 2
MyST renders pages as a React SPA — the browser ignores the static HTML and re-renders everything from window.__remixContext, which is populated from per-page .json files in book/_build/html/. Stripping the static index.html had no visible effect. Rewrite parse_html_for_errors_v2.py to walk every .json page data file, find 'output' nodes in the mdast tree whose jupyter_data.ename matches NotImplementedError or NameError, remove them from their parent 'outputs' node, and drop the 'outputs' node entirely if it becomes empty.
The script no longer parses HTML — it strips error outputs from the JSON build artifacts. Update the filename and all references.
Jupyter book 2
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.
No description provided.