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 004e5ed commit af8526aCopy full SHA for af8526a
1 file changed
scripts/build-docs.py
@@ -9,14 +9,13 @@
9
BASE_DIR = Path("docs/user_manual")
10
OUTPUT_FILE = BASE_DIR / "components.md"
11
12
+
13
def extract_index(path: Path):
14
match = re.match(r"(\d+)", path.name)
15
return int(match.group(1)) if match else 9999
16
-files = sorted(
17
- BASE_DIR.glob("*components*.md"),
18
- key=extract_index
19
-)
+files = sorted(BASE_DIR.glob("*components*.md"), key=extract_index)
20
21
if not files:
22
print("No component files found.")
0 commit comments