Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the issue that the document's "View Source" link was broken #171

Merged
merged 1 commit into from Apr 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
28 changes: 14 additions & 14 deletions .travis.yml
Expand Up @@ -131,6 +131,20 @@ script:
# Check coding styles
- hooks/check-bom

# Build docs using DocFX
- |
if [[ "$TRAVIS_OS_NAME" = "windows" ]]; then
powershell -Command "Set-ExecutionPolicy Unrestricted"
pwsh=powershell
else
pwsh=pwsh
fi
$pwsh \
-File Docs/build.ps1 \
-WorkingDirectory Docs/ \
-ExecutionPolicy Bypass
- '[[ -f Docs/_site/index.html ]]'

# Build the whole solution
- |
for project in $PROJECTS; do
Expand Down Expand Up @@ -189,20 +203,6 @@ script:
grep -i Libplanet.Stun.dll /tmp/nupkgfiles
rm -f "Libplanet/bin/Release/Libplanet.$version.nupkg"

# Build docs using DocFX
- |
if [[ "$TRAVIS_OS_NAME" = "windows" ]]; then
powershell -Command "Set-ExecutionPolicy Unrestricted"
pwsh=powershell
else
pwsh=pwsh
fi
$pwsh \
-File Docs/build.ps1 \
-WorkingDirectory Docs/ \
-ExecutionPolicy Bypass
- '[[ -f Docs/_site/index.html ]]'

# Turn off "set -e" option
- set +e

Expand Down