-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update local build instructions and README
* remove details of DocFX configuration; defer to DocFX docs * rename main site configuration files to be main-site*.json * provide a local Docker image to run DocFX as a convenience
- Loading branch information
Showing
12 changed files
with
91 additions
and
94 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,8 +1,8 @@ | ||
/api/browser/**/*.manifest | ||
/api/browser/**/*.yml | ||
/obj/ | ||
/build/ | ||
/sources/ | ||
/_site/ | ||
/tools/ | ||
/.vscode/ | ||
/.vs/ | ||
|
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
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
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,3 @@ | ||
#!/usr/bin/env pwsh | ||
|
||
Invoke-Expression "docker run -it --rm --volume $(Get-Location):/work docfx $args" |
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,11 +1,25 @@ | ||
FROM mono:6.12 | ||
WORKDIR /scratch | ||
RUN \ | ||
apt-get update && \ | ||
apt-get install -y \ | ||
git \ | ||
unzip \ | ||
vim \ | ||
wget | ||
COPY . /work | ||
RUN \ | ||
/work/install.sh && \ | ||
rm -rf /work | ||
wget https://packages.microsoft.com/config/debian/$(cat /etc/issue | awk '{print $3}')/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \ | ||
dpkg -i packages-microsoft-prod.deb && \ | ||
rm packages-microsoft-prod.deb && \ | ||
apt-get update && \ | ||
apt install -y \ | ||
dotnet-sdk-6.0 | ||
COPY . . | ||
RUN \ | ||
wget https://github.com/dotnet/docfx/releases/download/$(cat docfx_version)/docfx.zip && \ | ||
mkdir -p /usr/local/libexec && \ | ||
unzip docfx.zip -d /usr/local/libexec/docfx && \ | ||
cp docfx /usr/local/bin && \ | ||
rm -rf /scratch | ||
WORKDIR /work | ||
ENTRYPOINT ["docfx"] |
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,3 @@ | ||
#!/bin/sh | ||
|
||
mono /usr/local/libexec/docfx/docfx.exe $* |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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
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,3 @@ | ||
{ | ||
"_rootHost": "https://dev.steeltoe.io" | ||
} |
File renamed without changes.
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,3 @@ | ||
{ | ||
"_rootHost": "http://localhost:9081" | ||
} |