diff --git a/docs/Project.toml b/docs/Project.toml index 4b5b23d3..012460cf 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -3,4 +3,7 @@ CompatHelper = "aa819f21-2bde-4658-8897-bab36330d9b7" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" [compat] -Documenter = "0.27.0" +Documenter = "1" + +[sources] +CompatHelper = {path = ".."} diff --git a/docs/make.jl b/docs/make.jl index 81a29a46..027c3963 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,12 +1,13 @@ using CompatHelper using Documenter +using Documenter.Remotes: GitHub DocMeta.setdocmeta!(CompatHelper, :DocTestSetup, :(using CompatHelper); recursive=true) makedocs(; modules=[CompatHelper], authors="Dilum Aluthge, Brown Center for Biomedical Informatics, and contributors", - repo="https://github.com/JuliaRegistries/CompatHelper.jl/blob/{commit}{path}#{line}", + repo=GitHub("JuliaRegistries/CompatHelper.jl"), sitename="CompatHelper.jl", format=Documenter.HTML(; prettyurls=get(ENV, "CI", "false") == "true", @@ -20,7 +21,6 @@ makedocs(; "Other Environments" => "other-environments.md", "TroubleShooting" => "troubleshooting.md", ], - strict=true, ) deploydocs(; repo="github.com/JuliaRegistries/CompatHelper.jl")