From 4dfa7da71f1b1bb5fa3d9e24a1376d7d748ac76a Mon Sep 17 00:00:00 2001 From: Shuhei Kadowaki Date: Wed, 4 Mar 2020 19:20:03 +0900 Subject: [PATCH] update doc deps --- doc/Project.toml | 3 --- doc/make.jl | 21 +++++++++++++++------ 2 files changed, 15 insertions(+), 9 deletions(-) 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, )