Skip to content

Commit 7c73c67

Browse files
committed
Update documentation.yml
Use Home.md as index.md. This keeps the initial generated page in tact.
1 parent 84d5251 commit 7c73c67

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/documentation.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ jobs:
8383
---
8484
"@,$(Get-Content $_.FullName)
8585
}
86+
Set-Content site\$module\Home.md -value @"
87+
---
88+
layout: default
89+
title: $module
90+
has_children: true
91+
---
92+
"@,$(Get-Content site\$module\Home.md)
93+
Move-Item -Path site\$module\Home.md -Destination site\$module\index.md -Force
8694
}
8795
8896
- name: Deploy

0 commit comments

Comments
 (0)