Skip to content

Commit

Permalink
Clarify some of the debug info (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
oxinabox authored and mortenpi committed Sep 19, 2018
1 parent ae4adde commit b71a00e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Documenter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ function deploydocs(;

if get(ENV, "DOCUMENTER_DEBUG", "") == "true"
Utilities.debug("TRAVIS_REPO_SLUG = \"$travis_repo_slug\"")
Utilities.debug(" should match \"$repo\" (kwarg: repo)")
Utilities.debug(" should occur in \"$repo\" (kwarg: repo)")
Utilities.debug("TRAVIS_PULL_REQUEST = \"$travis_pull_request\"")
Utilities.debug(" deploying if equal to \"false\"")
Utilities.debug("TRAVIS_BRANCH = \"$travis_branch\"")
Expand Down Expand Up @@ -468,9 +468,10 @@ function deploydocs(;
end
end
else
Utilities.log("""
skipping docs deployment.
You can set DOCUMENTER_DEBUG to "true" in Travis to see more information.""")
Utilities.log("skipping docs deployment.")
if get(ENV, "DOCUMENTER_DEBUG", "") != "true"
Utilities.log("You can set DOCUMENTER_DEBUG to \"true\" in Travis to see more information.")
end
end
end

Expand Down

0 comments on commit b71a00e

Please sign in to comment.