Skip to content

Commit

Permalink
Update to Documenter v1 (#687)
Browse files Browse the repository at this point in the history
* Use Documenter v1 and Latexify v0.16

* Import `InverseFunctions.inverse` in doctest
  • Loading branch information
sostock authored Oct 24, 2023
1 parent 2b52399 commit 6bf6f99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
2 changes: 2 additions & 0 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ true
`ustrip` supports `InverseFunctions.inverse`:
```jldoctest
julia> using InverseFunctions: inverse
julia> inverse(Base.Fix1(ustrip, u"m"))(5)
5 m
```
Expand Down

0 comments on commit 6bf6f99

Please sign in to comment.