Scripts · stories.py reads components from the chapter task files alone, not the GitHub round's list
This commit is contained in:
1 parent
2f8b2f687c
commit
ba0e0127b4
1 file changed
+1
-1
+1
-1
@@ -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(" / ")]
|
||||
|
||||
Reference in new issue
Block a user