Skip to content

Commit 6a55b5d

Browse files
authored
Merge pull request #142 from fingolfin/patch-4
Disable failing doctest
2 parents dc7c2cc + eb2b7bf commit 6a55b5d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ DocMeta.setdocmeta!(Primes, :DocTestSetup, :(using Primes); recursive = true)
44
makedocs(
55
modules = [Primes],
66
sitename = "Primes.jl",
7+
checkdocs = :none,
78
pages = Any[
89
"Home" => "index.md",
910
"Functions" => "api.md"

src/Primes.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ For convenience, `divisors(0)` returns `[]`.
968968
969969
# Example
970970
971-
```jldoctest
971+
```julia
972972
julia> divisors(60)
973973
12-element Vector{Int64}:
974974
1 # 1
@@ -983,7 +983,8 @@ julia> divisors(60)
983983
15 # 5 * 3
984984
30 # 5 * 3 * 2
985985
60 # 5 * 3 * 2 * 2
986-
986+
```
987+
```jldoctest
987988
julia> divisors(-10)
988989
4-element Vector{Int64}:
989990
1

0 commit comments

Comments
 (0)