Skip to content

Commit 0b7f77f

Browse files
committed
fix breaking docstring on travis
1 parent 749c38f commit 0b7f77f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/make.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ makedocs(modules = [Polynomials],
88
authors = "Jameson Nash, Keno Fischer, and other contributors",
99
pages = [
1010
"Manual" => "index.md",
11-
],
12-
doctest=true
11+
]
1312
)
1413

1514
deploydocs(repo = "github.com/JuliaMath/Polynomials.jl.git")

src/Polynomials.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ polynomials of different variables causes an error.
3232
3333
# Examples
3434
35-
```jldoctest
35+
```julia
3636
julia> Poly([1, 0, 3, 4])
3737
Poly(1 + 3⋅x^2 + 4⋅x^3)
3838
@@ -43,7 +43,7 @@ julia> a = Poly([1, 2, 3], :x); b = Poly([1, 2, 3], :s);
4343
4444
julia> a + b
4545
ERROR: Polynomials must have same variable
46-
...
46+
[...]
4747
4848
julia> p = Poly([1, 2])
4949
Poly(1 + 2⋅x)

0 commit comments

Comments
 (0)