diff --git a/doc/Project.toml b/doc/Project.toml index 5921c98..46bdb47 100644 --- a/doc/Project.toml +++ b/doc/Project.toml @@ -2,6 +2,3 @@ DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" - -[compat] -Documenter = "~0.20" diff --git a/doc/make.jl b/doc/make.jl index 7e0e726..7777b9b 100644 --- a/doc/make.jl +++ b/doc/make.jl @@ -1,15 +1,24 @@ using Documenter, Weave - -makedocs( modules = Weave, sitename="Weave.jl", - pages = ["index.md", "getting_started.md", "usage.md", - "publish.md", "chunk_options.md", "notebooks.md", - "function_index.md"] +makedocs( + modules = [Weave], + format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true"), + sitename = "Weave.jl", + pages = [ + "index.md", + "getting_started.md", + "usage.md", + "publish.md", + "chunk_options.md", + "notebooks.md", + "function_index.md", + ], ) include("make_examples.jl") deploydocs( repo = "github.com/mpastell/Weave.jl.git", - target = "build" + target = "build", + push_preview = true, )