diff --git a/docs/Project.toml b/docs/Project.toml index 58c4b6208..766e5c98b 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -3,5 +3,5 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" GR = "28b8d3ca-fb5f-59d9-8090-bfdbd6d07a71" [compat] -Documenter = "0.26, 0.27" +Documenter = "1" GR = "0.72.1, 0.73" diff --git a/docs/make.jl b/docs/make.jl index c5ab4409e..0431a8afd 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,7 +1,7 @@ using Documenter, Distributions import Random: AbstractRNG, rand! -makedocs( +makedocs(; sitename = "Distributions.jl", modules = [Distributions], format = Documenter.HTML(; prettyurls = get(ENV, "CI", nothing) == "true"), @@ -23,11 +23,12 @@ makedocs( "fit.md", "extends.md", "density_interface.md", - ] + ], + warnonly = true, ) deploydocs(; repo = "github.com/JuliaStats/Distributions.jl.git", versions = ["stable" => "v^", "v#.#", "dev" => "master"], - push_preview=true, + push_preview = true, )