aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/make-flow-simple.py
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-09-24 00:03:10 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-09-24 00:03:10 +0900
commit41699333049cefc12952cbe3390760625e497b53 (patch)
treeb776c840f3c973495460caac81a47610b86582f3 /scripts/make-flow-simple.py
parenta615455a207f9e870a54e1e6825eee46bbdad5c7 (diff)
フロー図: 一部の切り取り(引用)が可能である旨を、図にも追記
SVGの下部バーとPDFのフッターに、一部を切り取って引用することもできる旨を追記した。引用する場合も出典の明示が必要であることは、ページ側に書いている。 PDFは文字数が増えるため、公立版のフッターの文字サイズを少し下げて収めた。 簡易版の生成スクリプトも、課題欄の省略と切り取りを区別した文言に合わせた。
Diffstat (limited to 'scripts/make-flow-simple.py')
-rw-r--r--scripts/make-flow-simple.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make-flow-simple.py b/scripts/make-flow-simple.py
index 1e0b566..be16cf1 100644
--- a/scripts/make-flow-simple.py
+++ b/scripts/make-flow-simple.py
@@ -40,7 +40,7 @@ text, n_note = re.subn(r'<text x="20" y="\d+"[^>]*>※6[^<]*</text>\n', "", text
# 簡易版には課題欄がないので、ライセンス行の但し書きも外す
text = text.replace("課題欄のリンク先:yasutakeyohei.com",
"各課題の詳細:yasutakeyohei.com/ijime-judai-jitai/flow/")
-text = text.replace("内容を変えず(下部の【課題・論点】を省くのは可)、", "内容を変えず、")
+text = text.replace("内容を変えず(課題欄の省略・一部の切り取りは可)、", "内容を変えず(一部の切り取りは可)、")
# 5) 課題欄より下の要素を上へ寄せる
def _shift(m):