diff --git a/docs/Project.toml b/docs/Project.toml index db359a7e..418f2c7b 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -6,5 +6,5 @@ Latexify = "23fbe1c1-3f47-55db-b15f-69d7ec21a316" Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a" [compat] -Documenter = "0.27" -Latexify = "0.13" +Documenter = "1" +Latexify = "0.16" diff --git a/docs/make.jl b/docs/make.jl index 9bba2d55..e8f865d3 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -5,6 +5,7 @@ DocMeta.setdocmeta!(Unitful, :DocTestSetup, :(using Unitful)) makedocs( sitename = "Unitful.jl", format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true"), + warnonly = [:missing_docs], modules = [Unitful], workdir = joinpath(@__DIR__, ".."), pages = [ diff --git a/src/utils.jl b/src/utils.jl index 2dd03169..5d717015 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -28,6 +28,8 @@ true `ustrip` supports `InverseFunctions.inverse`: ```jldoctest +julia> using InverseFunctions: inverse + julia> inverse(Base.Fix1(ustrip, u"m"))(5) 5 m ```