<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yasutakeyohei.com/scripts/stamp-flow-version.py, branch main</title>
<subtitle>公式ウェブサイトのソースコード（Astro + Starlight）</subtitle>
<id>https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/atom/scripts/stamp-flow-version.py?h=main</id>
<link rel='self' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/atom/scripts/stamp-flow-version.py?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/'/>
<updated>2026-09-23T15:35:14Z</updated>
<entry>
<title>stamp-flow-version.py: 「最終更新」の行に text-anchor を付け忘れていたのを修正</title>
<updated>2026-09-23T15:35:14Z</updated>
<author>
<name>Yasutake Yohei</name>
<email>61961825+yasutakeyohei@users.noreply.github.com</email>
</author>
<published>2026-09-23T15:35:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/commit/?id=d4c2abec9abc1779b297f86f2ec9cb4d1439033f'/>
<id>urn:sha1:d4c2abec9abc1779b297f86f2ec9cb4d1439033f</id>
<content type='text'>
行を置き換えるときに text-anchor="end" を落としていたため、文字が右端からはみ出して「最終」しか見えなくなっていた。

3つのSVGとPDFを再生成し、右寄せで全部見えることを確認した。
</content>
</entry>
<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>
</feed>
