Skip to content

Commit 8888a44

Browse files
committed
try reveal components
Signed-off-by: zhen0427 <Zhen.Wang@alliander.com>
1 parent 87e3d99 commit 8888a44

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

scripts/build-docs.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
OUTPUT_FILE = BASE_DIR / "components.md"
1111

1212
def extract_index(path: Path):
13-
# 从 001-components.md 提取 001
1413
match = re.match(r"(\d+)", path.name)
1514
return int(match.group(1)) if match else 9999
1615

@@ -29,7 +28,6 @@ def extract_index(path: Path):
2928
for f in files:
3029
content = f.read_text(encoding="utf-8").strip()
3130

32-
# 保留结构连续性,但加清晰分隔
3331
output.append(f"\n\n<!-- ===== {f.name} ===== -->\n")
3432
output.append(content)
3533

0 commit comments

Comments
 (0)