diff --git a/docs/make.jl b/docs/make.jl index 91e49a2..73117d9 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -4,6 +4,7 @@ DocMeta.setdocmeta!(Primes, :DocTestSetup, :(using Primes); recursive = true) makedocs( modules = [Primes], sitename = "Primes.jl", + checkdocs = :none, pages = Any[ "Home" => "index.md", "Functions" => "api.md" diff --git a/src/Primes.jl b/src/Primes.jl index fc15a82..056edcb 100644 --- a/src/Primes.jl +++ b/src/Primes.jl @@ -968,7 +968,7 @@ For convenience, `divisors(0)` returns `[]`. # Example -```jldoctest +```julia julia> divisors(60) 12-element Vector{Int64}: 1 # 1 @@ -983,7 +983,8 @@ julia> divisors(60) 15 # 5 * 3 30 # 5 * 3 * 2 60 # 5 * 3 * 2 * 2 - +``` +```jldoctest julia> divisors(-10) 4-element Vector{Int64}: 1