ページ番号と章焦点の自動化を全レクチャーに導入#25
Merged
Merged
Conversation
page-number.js(section 数からページ番号を自動採番)と ai-focus.js (cover の data-label から「この章の焦点」を自動注入)を追加。各章末に 「実務につなぐ」スライドを置き、00〜03 全レクチャーで機能を統一。 - page-number.js のセレクタを `.meta-line > span:last-child` に修正 (`.accent` span に誤マッチして番号が更新されない不具合をブラウザ検証で発見) - 02/03 の og:url を旧 watanabe-kohei-jp.github.io から co-lect.github.io へ - README / llms.txt の枚数表記を更新(00:10 / 01:13 / 02:13 / 03:13) ブラウザ検証: 全 4 デッキで overflow なし・ページ番号自動採番・章焦点注入を確認。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
概要
宙に浮いていた未コミット作業(
page-number.js/ai-focus.js)を仕上げ、00〜03 の全レクチャーで機能を統一する。page-number.js—<section>数からページ番号を自動採番。スライドを増減しても番号が drift しないai-focus.js— cover のdata-labelから「この章の焦点」を各スライドに自動注入.ai-focus+.ai-buddy)を追加変更
shared/page-number.jsshared/ai-focus.jsshared/theme.css.ai-focus系スタイルCLAUDE.md00-about0102-setup03-claude-mdREADME.mdllms.txtブラウザ検証で見つけた不具合を修正
page-number.jsのセレクタ.meta-line span:last-childが.accentspan(「Chapter 1」等)にも誤マッチし、ページ番号が一切更新されていなかった。.meta-line > span:last-child(子結合子)に修正。検証結果(localhost + Chrome、全 4 デッキ):
NN / 総数で自動採番されるscrollHeight === 1080)ついでに修正
02/03 の
og:urlが旧 URL(watanabe-kohei-jp.github.io)だったためco-lect.github.ioに修正。範囲外(別途)
02/03 は README の表・llms.txt の講義一覧・sitemap.xml・ルート index.html のどこにも未登録。導線追加は別 PR とする。
No-Issue: 宙に浮いていた未コミット作業の仕上げと全レクチャーへの機能統一
🤖 Generated with Claude Code