Scripts · stories.py reads components from the chapter task files alone, not the GitHub round's list

This commit is contained in:
ZacharyZhang-NY committed 2026-10-03 22:54:14 -04:00
1 parent e7dbcadc89
commit 3921edebb0
1 file changed
+1 -1
+1 -1
View File
@@ -165,7 +165,7 @@ def slug(title):
def entries():
"""Component names by key, and ticked entries with a home."""
names, homed = {}, []
for file in sorted((ROOT / "tasks").glob("*.md")):
for file in sorted((ROOT / "tasks").glob("ch*.md")):
for line in file.read_text().splitlines():
if m := re.match(r"- \[([ x])\] (.+?)(?: — | → | \(T\d|$)", line):
aliases = [re.sub(r"\s*\([^)]*\)", "", name).strip() for name in m.group(2).split(" / ")]