Skip to content

Commit 4b12fc7

Browse files
Compile community files to the main page
1 parent 2b06c65 commit 4b12fc7

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/Publish-Docs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ jobs:
2626
path: src
2727
fetch-depth: 0
2828

29+
- name: Compile docs
30+
run: |
31+
New-Item -Path .\docs -ItemType Directory -Force
32+
Copy-Item -Path .\src\profile\* -Destination .\docs -Force -Recurse
33+
Copy-Item -Path .\src\.github\*.md -Destination .\docs -Force -Recurse
34+
Get-ChildItem .\docs | Select-Object -ExpandProperty FullName | Sort-Object
35+
2936
- uses: actions/configure-pages@v5
3037

3138
- name: Install mkdoks-material

mkdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
site_name: PSModule
2-
docs_dir: src/profile
32
theme:
43
name: material
54
language: en

0 commit comments

Comments
 (0)