Skip to content

Commit

Permalink
dummy pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Dec 14, 2018
1 parent 73e9ac1 commit 96937e1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pdf/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ function build_nightly_pdf()
withenv("DOCUMENTER_VERBOSE" => "true",
"TRAVIS_REPO_SLUG" => nothing, # workaround Documenter bugs and julia#26314
"BUILDROOT" => nothing) do
run(`make -C $(JULIA_SOURCE)/doc pdf texplatform=docker JULIA_EXECUTABLE=$(julia_exec)`)
# run(`make -C $(JULIA_SOURCE)/doc pdf texplatform=docker JULIA_EXECUTABLE=$(julia_exec)`)
mkpath("$(JULIA_SOURCE)/doc/_build/pdf/en")
touch("$(JULIA_SOURCE)/doc/_build/pdf/en/TheJuliaLanguage.pdf")
end

# copy the built PDF to JULIA_DOCS
Expand Down Expand Up @@ -130,10 +132,10 @@ end

# similar to Documenter.deploydocs
function commit()
if get(ENV, "TRAVIS_PULL_REQUEST", "true") != "false"
@info "skipping commit from pull requests."
return
end
# if get(ENV, "TRAVIS_PULL_REQUEST", "true") != "false"
# @info "skipping commit from pull requests."
# return
# end
@info "committing built PDF files."

# initialize git
Expand Down

0 comments on commit 96937e1

Please sign in to comment.