Skip to content

自動生成する各号目次をサイドバー目次に対応させる - #680

Open
zunda wants to merge 2 commits into
masterfrom
regional-ruby-kaigi-numbering-toc-template
Open

zunda wants to merge 2 commits into
masterfrom
regional-ruby-kaigi-numbering-toc-template

Conversation

@zunda

@zunda zunda commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

#671 のマージ後にマージします。

この変更によって #665 に対応した各号目次を生成するようになります。自動生成した目次については、 #669 も解決します。

Closes #678

@zunda

zunda commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

マージ先のブランチの指定を誤りました!1308c2fまでのコミットは #671 に含まれます。

@zunda
zunda marked this pull request as ready for review July 12, 2026 09:04

@neko314 neko314 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.

お待たせしました!サイドバーへのご対応あとうございます。
editing_tools/generate_index_and_editors_note.rbを実行してみて、良さそうに思いました!

ベースブランチをrebase masterしたために #671 でのコミットがこのPRの差分に出てしまってるのでrabaseお願いします〜

comment: TODO (難易度:TODO)
<% end -%>
- url: https://cosen.se/ruby-no-kai/RubyEventCheck
- url: https://scrapbox.io/ruby-jp/RubyEventCheck

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.

調べてみてもよくわからなかったのでご存知だったら教えてください 🙏

Scrapboxって今はCosenseに変わってドメインもその時にcosen.seになったかと思うのですが今はscrapbox.ioに戻ったんですかね?
Cosenseになった時の記事→ https://corp.helpfeel.com/news/pressrelease-20240521

今https://cosen.se/ruby-no-kai/にアクセスしたらhttps://scrapbox.io/ruby-jp/にリダイレクトされて、「あ、そうなんだ」とちょっと驚いてしまいました🫣
きちんとキャッチアップできてなくて申し訳ない 🙏

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

0065号の表紙から https://cosen.se/ruby-no-kai/RubyEventCheck へリンクされている RubyEventCheck をクリックしてリダイレクトされた先の https://scrapbox.io/ruby-no-kai/RubyEventCheck に表示された

2026年以降のRubyEventCheckは、ruby-jpのCosenseで更新されています(いてほしい)。今後は/ruby-jp/RubyEventCheckを参照してください

というメッセージを見て、 #669 を起票しました。経緯は知りませんすみません…。

@kakutani さん、お手数ですが、

  • るびまの次号の表紙の RubyEventCheck からリンクするべきURLを、
  • もしおてすきでしたら変更の経緯を、

お知らせいただけますか?

zunda added 2 commits July 20, 2026 11:22
各号目次をサイドバーに表示する機能(#665)に対応した各号目次を生成するようにします。

editing_tools/generate_index_and_editors_note.rbで、配列にも対応するため、文字列の操作ではなく`YAML.load`でフロントマターをパーズします。そのさい、号数のみのタグ(`tag: 0065`など)が8進数に解釈されるのを防ぐため、文字列に変換しておきます。
@zunda
zunda force-pushed the regional-ruby-kaigi-numbering-toc-template branch from f1190a9 to 4f1d0c6 Compare July 20, 2026 21:23
@zunda

zunda commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

ご確認ありがとうございます! まず、現在のmasterにgit rebaseしてgit push -fしました。

This branch has not been deployed

No deployments
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.

サイドバー目次を表示するように editing_tools/template/index.md.erb を更新する

2 participants