Skip to content

Commit afe1630

Browse files
committed
[Bugfix] Vendored Markdown - exclude llms.txt files
1 parent 44425b0 commit afe1630

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bin/generate-index-md.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ import YAML from "yaml";
1414
const files = await glob("dist/**/*.html");
1515

1616
for (const file of files) {
17-
if (file === "dist/index.html" || file === "dist/404.html") {
17+
if (
18+
file === "dist/index.html" ||
19+
file === "dist/404.html" ||
20+
file === "dist/llms.txt" ||
21+
file.includes("llms-full.txt")
22+
) {
1823
continue;
1924
}
2025

0 commit comments

Comments
 (0)