Weave.jl/doc/make.jl

30 lines
596 B
Julia
Raw Permalink Normal View History

using Documenter, Weave
2020-05-17 06:03:19 +02:00
CI_FLG = get(ENV, "CI", nothing) == "true"
2020-03-04 11:20:03 +01:00
makedocs(
modules = [Weave],
2020-03-05 17:08:07 +01:00
format = Documenter.HTML(
2020-05-17 06:03:19 +02:00
prettyurls = CI_FLG,
2020-03-05 17:08:07 +01:00
canonical = "http://weavejl.mpastell.com/stable/",
),
2020-03-04 11:20:03 +01:00
sitename = "Weave.jl",
pages = [
"index.md",
"getting_started.md",
"usage.md",
"publish.md",
"chunk_options.md",
2020-05-24 19:05:48 +02:00
"header.md",
2020-03-04 11:20:03 +01:00
"notebooks.md",
"function_index.md",
],
2019-03-04 12:03:00 +01:00
)
2020-05-17 06:03:19 +02:00
CI_FLG && include("make_examples.jl")
deploydocs(
2020-03-05 17:08:07 +01:00
repo = "github.com/JunoLab/Weave.jl.git",
2020-03-04 11:20:03 +01:00
push_preview = true,
)