From 8532bf6de0142d72bd931d2122ba59f85c00ba28 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Mon, 30 Mar 2020 11:05:42 +0530 Subject: [PATCH 1/2] Preview PRs in docs --- docs/make.jl | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/docs/make.jl b/docs/make.jl index fbe0b2f..a6b06fc 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,12 +1,16 @@ using Documenter, ImageFiltering -makedocs(modules = [ImageFiltering, Kernel, KernelFactors, ImageFiltering.MapWindow], - format = :html, - sitename = "ImageFiltering", - pages = ["index.md", "Function reference" => "function_reference.md"]) +makedocs( + modules = [ImageFiltering, Kernel, KernelFactors, ImageFiltering.MapWindow], + format = Documenter.HTML(), + sitename = "ImageFiltering", + pages = [ + "index.md", + "Function reference" => "function_reference.md" + ] +) -deploydocs(repo = "github.com/JuliaImages/ImageFiltering.jl.git", - target = "build", - deps = nothing, - make = nothing, - julia = "1.2") +deploydocs( + repo = "github.com/JuliaImages/ImageFiltering.jl.git", + push_preview = "true" +) From c6455652653c17357d91a74f4358f866632f4e6b Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Mon, 30 Mar 2020 11:06:30 +0530 Subject: [PATCH 2/2] Use the latest Documenter version --- docs/Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Project.toml b/docs/Project.toml index d7906fc..1b9ab1f 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -2,4 +2,4 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" [compat] -Documenter = "0.23" +Documenter = "0.24"