2016-04-19 14:23:48 +02:00
|
|
|
using Documenter, Weave
|
2019-03-05 18:36:27 +01:00
|
|
|
|
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
|
|
|
)
|
2019-03-05 18:36:27 +01:00
|
|
|
|
2020-05-17 06:03:19 +02:00
|
|
|
CI_FLG && include("make_examples.jl")
|
2019-03-04 14:10:03 +01:00
|
|
|
|
|
|
|
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,
|
2019-03-04 14:10:03 +01:00
|
|
|
)
|