Skip to content

Commit 55a53bb

Browse files
authored
Merge pull request #21457 from unoplatform/dev/vs/doc-ingestion-filters
chore: exclude .github from LLMs script
2 parents ecf71ac + 0ebfa0a commit 55a53bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/generate-llms-full.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ if ($Llmstxt) {
3939

4040
# ── 2) Process all markdown files ───────────────────────────────────────────────
4141
Get-ChildItem $InputFolder -Recurse -Filter '*.md' |
42-
Where-Object { $_.FullName -ne $headerResolved } | # skip header if in tree
42+
Where-Object {
43+
$_.FullName -ne $headerResolved -and
44+
$_.FullName -notmatch '[\\/]\.github[\\/]'
45+
} | # skip header if in tree and skip .github folder
4346
Sort-Object FullName |
4447
ForEach-Object {
4548
$text = Get-Content $_.FullName -Raw

0 commit comments

Comments
 (0)