<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yasutakeyohei.com/scripts/make-flow-pdfs.py, branch main</title>
<subtitle>公式ウェブサイトのソースコード（Astro + Starlight）</subtitle>
<id>https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/atom/scripts/make-flow-pdfs.py?h=main</id>
<link rel='self' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/atom/scripts/make-flow-pdfs.py?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/'/>
<updated>2026-09-23T15:26:12Z</updated>
<entry>
<title>フロー図: 「最終更新」日を自動で入れるようにし、版番号をやめる</title>
<updated>2026-09-23T15:26:12Z</updated>
<author>
<name>Yasutake Yohei</name>
<email>61961825+yasutakeyohei@users.noreply.github.com</email>
</author>
<published>2026-09-23T15:26:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/commit/?id=b3997405d91239eac82c631d18a48b13181e2820'/>
<id>urn:sha1:b3997405d91239eac82c631d18a48b13181e2820</id>
<content type='text'>
版番号（第1版）は内容を変えても手で上げないと古いままになるため、やめた。

代わりに、図の右上の日付を scripts/stamp-flow-version.py が git の履歴から自動で入れるようにした。図の内容を最後に変えた日（未コミットの変更があれば今日）になる。

make-flow-simple.py と make-flow-pdfs.py は、この処理を先に走らせてから成果物を作る。PDFのメタデータの版情報も、SVGの日付から取るようにした。

ページの「改変を認めていない理由」の記述も、版番号から最終更新日の説明に直した。
</content>
</entry>
<entry>
<title>フロー図: 一部の切り取り（引用）が可能である旨を、図にも追記</title>
<updated>2026-09-23T15:03:10Z</updated>
<author>
<name>Yasutake Yohei</name>
<email>61961825+yasutakeyohei@users.noreply.github.com</email>
</author>
<published>2026-09-23T15:03:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/commit/?id=41699333049cefc12952cbe3390760625e497b53'/>
<id>urn:sha1:41699333049cefc12952cbe3390760625e497b53</id>
<content type='text'>
SVGの下部バーとPDFのフッターに、一部を切り取って引用することもできる旨を追記した。引用する場合も出典の明示が必要であることは、ページ側に書いている。

PDFは文字数が増えるため、公立版のフッターの文字サイズを少し下げて収めた。

簡易版の生成スクリプトも、課題欄の省略と切り取りを区別した文言に合わせた。
</content>
</entry>
<entry>
<title>make-flow-simple.py ほか: 版と更新日を入れ、課題欄なしの簡易版を追加</title>
<updated>2026-09-23T14:23:39Z</updated>
<author>
<name>Yasutake Yohei</name>
<email>61961825+yasutakeyohei@users.noreply.github.com</email>
</author>
<published>2026-09-23T14:23:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/commit/?id=2e18021e015e472b72610f2e1af080914c053ccb'/>
<id>urn:sha1:2e18021e015e472b72610f2e1af080914c053ccb</id>
<content type='text'>
図の右上に「第1版（令和8年9月23日）」を入れ、改訂したら版と日付を更新することをページに書いた。どの版が最新かを誰でも確認できるようにするため。

下部の課題欄と、フロー上の「課題N」バッジ、その説明（※6）を外した簡易版を用意した。教育委員会の内部資料など、課題欄が不要な用途でAIに作り直させずに済むようにするため。

簡易版にも出典・ライセンス・版は入れており、課題の内容はこのサイトに掲載している旨の注記を置いた。

簡易版の生成は scripts/make-flow-simple.py（make-flow-pdfs.py より先に実行）。
</content>
</entry>
<entry>
<title>FlowLicense.astro ほか: フロー図のライセンスをAI・検索向けに明示する</title>
<updated>2026-09-23T14:17:06Z</updated>
<author>
<name>Yasutake Yohei</name>
<email>61961825+yasutakeyohei@users.noreply.github.com</email>
</author>
<published>2026-09-23T14:17:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/commit/?id=464e651652710fab87f95984017bb15129ab1087'/>
<id>urn:sha1:464e651652710fab87f95984017bb15129ab1087</id>
<content type='text'>
AIに図を読み込ませて作り直す場合に、出典が失われないようにするため、機械可読の表示を追加した。

SVGにRDFのメタデータ（dc:creator・cc:license・dc:source）を入れ、SVGの中身を読むツールやAIが利用条件を把握できるようにした。

PDFのメタデータ（title・author・subject・keywords）にも、ライセンスと出典、公立版・私立版とも同じライセンスであることを入れた。

ページには、schema.org の CreativeWork による構造化データと rel="license" を追加した。hasPart で公立学校版・私立学校版の両方を同じライセンスとして示している。

「AIで作り直す場合」の節を設け、出典の表示をお願いするとともに、作り直すと内容が変わり得るため原本のSVG・PDFの利用を勧める旨を書いた。
</content>
</entry>
<entry>
<title>ijime-judai-flow ほか: 公立版・私立版が同じライセンスであることを明記</title>
<updated>2026-09-23T14:12:17Z</updated>
<author>
<name>Yasutake Yohei</name>
<email>61961825+yasutakeyohei@users.noreply.github.com</email>
</author>
<published>2026-09-23T14:12:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/commit/?id=eb4f1dadc124a591d68a3e1ace3477282692da62'/>
<id>urn:sha1:eb4f1dadc124a591d68a3e1ace3477282692da62</id>
<content type='text'>
ライセンスの節をページの最後（両方の図の後）に移し、公立学校版・私立学校版のいずれにも当てはまることを明記した。公立校版だけに適用されると読める書き方になっていたため。

私立学校の場合の節にも、公立学校版と同じライセンスで提供していることを書き、図の下にも著作権表示を入れた。

下部の課題欄を省けるという条件は、課題欄がある公立学校版に限られることを明記した。

図とPDFのフッターは「公立版・私立版とも CC BY-ND 4.0」とし、PDFのライセンス行は版ごとに分けた（私立版には課題欄の記載を入れない）。
</content>
</entry>
<entry>
<title>ijime-judai-flow ほか: 課題欄の省略を認め、図の上部にも出典を入れる</title>
<updated>2026-09-23T14:09:25Z</updated>
<author>
<name>Yasutake Yohei</name>
<email>61961825+yasutakeyohei@users.noreply.github.com</email>
</author>
<published>2026-09-23T14:09:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/commit/?id=d12a2171afba32928a5cc945dd26b99a76462afa'/>
<id>urn:sha1:d12a2171afba32928a5cc945dd26b99a76462afa</id>
<content type='text'>
下部の【課題・論点】の欄は、教育委員会の内部資料など課題が不要な用途では省いてよいこととし、その場合も出典の明示が必要であることを書いた。

課題欄を省いても「課題N」のラベルは残るため、そこからこのページにたどれることも記載した。

課題欄ごと切り取られても出典が残るよう、図の上部（タイトル横）にも著作権表示と出典のURLを入れた。PDFのフッターにも課題欄の省略可を追記した。
</content>
</entry>
<entry>
<title>ijime-judai-flow.svg ほか: フロー図のライセンスに免責と改変禁止の理由を追記</title>
<updated>2026-09-23T14:05:19Z</updated>
<author>
<name>Yasutake Yohei</name>
<email>61961825+yasutakeyohei@users.noreply.github.com</email>
</author>
<published>2026-09-23T14:05:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/commit/?id=d1389b028d6a87db406e7f8a39197211b43062d3'/>
<id>urn:sha1:d1389b028d6a87db406e7f8a39197211b43062d3</id>
<content type='text'>
商用利用も可能であることを明記した。

改変を認めないのは、原本をこのページで一元管理し、根拠と食い違う版が出回って誤った対応につながることを避けるためである旨を書いた。

内容の正確性は保証せず、誤りがあっても責任を負わないことを追記し、SVGの下部バーとPDFのフッターにも入れた。PDFのライセンス行は文字サイズを下げて「（表示—改変禁止・無保証）」まで収めた。
</content>
</entry>
<entry>
<title>ijime-judai-flow.svg ほか: フロー図にライセンス表示を追加</title>
<updated>2026-09-23T14:00:14Z</updated>
<author>
<name>Yasutake Yohei</name>
<email>61961825+yasutakeyohei@users.noreply.github.com</email>
</author>
<published>2026-09-23T14:00:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/commit/?id=e161efb86b370877e330a693699b4be3ed2d3255'/>
<id>urn:sha1:e161efb86b370877e330a693699b4be3ed2d3255</id>
<content type='text'>
自由に使ってもらえるようにしつつ、内容が書き換えられたコピーが広まらないようにするため、CC BY-ND 4.0（表示—改変禁止）とした。

図だけがコピーされても出所が分かるよう、SVGの末尾とPDFのフッターに、著作権表示・ライセンス・このページのURLを入れた。

ページには「この図の利用について」を追加し、出典の明示と内容を変えないことをお願いする旨を書いた。

あわせて、2行にしたPDFフッターが図と重ならないよう、make-flow-pdfs.py の位置とサイズを調整した。
</content>
</entry>
<entry>
<title>ijime-judai-flow.svg ほか: 課題を起点順に並べ替え、周知の課題を追加</title>
<updated>2026-09-23T13:41:25Z</updated>
<author>
<name>Yasutake Yohei</name>
<email>61961825+yasutakeyohei@users.noreply.github.com</email>
</author>
<published>2026-09-23T13:41:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/commit/?id=1fd1b3e9e3aa90080bed304c1614a37a939503ae'/>
<id>urn:sha1:1fd1b3e9e3aa90080bed304c1614a37a939503ae</id>
<content type='text'>
課題が起点からの順になっていなかったため、①〜⑫に振り直し、フロー上の赤いバッジと【課題・論点】欄を対応させた。

新たに①「重大事態という扱いの存在が周知されていない」を追加し、「いじめの申立て・相談」の枠にバッジを付けた。

旧⑥（30日の目安／再調査の判断基準）は、発生する段階が離れているため②（判断）と⑫（再調査）に分けた。

課題欄が2行増えるため、下の参考欄・注記・下部バーを64px下げ、SVGの高さを更新した。あわせて make-flow-pdfs.py の基準高さを合わせ、公立版PDF（1ページ版・6ページ版）を再生成した。
</content>
</entry>
<entry>
<title>フロー図のPDF: 課題⑩の追加を反映</title>
<updated>2026-09-23T00:15:51Z</updated>
<author>
<name>Yasutake Yohei</name>
<email>61961825+yasutakeyohei@users.noreply.github.com</email>
</author>
<published>2026-09-23T00:15:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/commit/?id=a7c6b3fb322ae83d794b14657a2d5c5dfe2c0b44'/>
<id>urn:sha1:a7c6b3fb322ae83d794b14657a2d5c5dfe2c0b44</id>
<content type='text'>
レイアウトが40px伸びたため、印刷用PDFのタイル基準（base_h）を3970に更新した。
</content>
</entry>
</feed>
