We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e3d99 commit 8888a44Copy full SHA for 8888a44
1 file changed
scripts/build-docs.py
@@ -10,7 +10,6 @@
10
OUTPUT_FILE = BASE_DIR / "components.md"
11
12
def extract_index(path: Path):
13
- # 从 001-components.md 提取 001
14
match = re.match(r"(\d+)", path.name)
15
return int(match.group(1)) if match else 9999
16
@@ -29,7 +28,6 @@ def extract_index(path: Path):
29
28
for f in files:
30
content = f.read_text(encoding="utf-8").strip()
31
32
- # 保留结构连续性,但加清晰分隔
33
output.append(f"\n\n<!-- ===== {f.name} ===== -->\n")
34
output.append(content)
35
0 commit comments