Skip to content

Commit

Permalink
Try to build docs again (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tortar committed Jan 3, 2024
1 parent 0baa38e commit d05f547
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
using Documenter
using IteratorSampling

makedocs(sitename="IteratorSampling docs")
println("Documentation Build")
makedocs(
modules = [IteratorSampling],
sitename = "IteratorSampling.jl",
pages = [
"API" => "api.md",
],
)

@info "Deploying Documentation"
CI = get(ENV, "CI", nothing) == "true" || get(ENV, "GITHUB_TOKEN", nothing) !== nothing
if CI
deploydocs(
repo = "github.com/Tortar/IteratorSampling.jl.git",
target = "build",
push_preview = true,
devbranch = "main",
)
end
println("Finished boulding and deploying docs.")

0 comments on commit d05f547

Please sign in to comment.