-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
319b725
commit 1344ae2
Showing
2 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
## Once | ||
# dotnet tool install -g docfx // install this tool once. | ||
# docfx init -y // already done and configured once. | ||
|
||
## Each time | ||
Remove-Item .\api -Recurse | ||
Remove-Item .\_site\. -Recurse | ||
docfx metadata | ||
docfx build .\docfx.json | ||
|
||
$Url = "http://localhost:8080" | ||
$ProcId = (Get-Process -Name '*edge*' | Where-Object MainWindowTitle -like "*Summary - Coverage Report*").Id | ||
|
||
if ($ProcId) { | ||
Stop-Process -Id $ProcId | ||
} | ||
|
||
Start-Process msedge $($Url) | ||
|
||
docfx serve _site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## Run following to | ||
- install docfx tool once. | ||
dotnet tool install -g docfx | ||
- this is already done in this repo, but in case to start over run following and configured once. | ||
docfx init -y |