Skip to content

Commit de386a9

Browse files
author
Bart Koelman
committed
Fix broken docs website
1 parent 9399dda commit de386a9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

appveyor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ after_build:
3535
git clone https://github.com/json-api-dotnet/JsonApiDotNetCore.git -b gh-pages origin_site -q
3636
Copy-Item origin_site/.git _site -recurse
3737
Copy-Item CNAME _site/CNAME
38-
Get-ChildItem -Path home/* -Recurse | Copy-Item -Destination _site
38+
Copy-Item home/*.html _site/
39+
Copy-Item home/*.ico _site/
40+
Copy-Item -Recurse home/assets/* _site/styles/
3941
CD _site
4042
git add -A 2>&1
4143
git commit -m "CI Updates" -q

docs/build-dev.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ dotnet build .. --configuration Release
99
Invoke-Expression ./generate-examples.ps1
1010

1111
docfx ./docfx.json
12-
Get-ChildItem -Path home/* -Recurse | Copy-Item -Destination _site
12+
Copy-Item home/*.html _site/
13+
Copy-Item home/*.ico _site/
14+
Copy-Item -Recurse home/assets/* _site/styles/
1315

1416
cd _site
1517
httpserver &

0 commit comments

Comments
 (0)