Skip to content

Commit 92ded93

Browse files
authored
Merge pull request #178 from mileslucas/docs
Fix docs
2 parents 932708d + ce16f85 commit 92ded93

File tree

5 files changed

+10
-14
lines changed

5 files changed

+10
-14
lines changed

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
33

44
[compat]
5-
Documenter = "0.23"
5+
Documenter = "0.23.3"

docs/make.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
using Polynomials, Documenter
1+
using Documenter, Polynomials
2+
3+
DocMeta.setdocmeta!(Polynomials, :DocTestSetup, :(using Polynomials); recursive=true)
24

35
makedocs(modules = [Polynomials],
4-
clean = false,
56
format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true"),
67
sitename = "Polynomials.jl",
78
authors = "Jameson Nash, Keno Fischer, and other contributors",
@@ -10,4 +11,4 @@ makedocs(modules = [Polynomials],
1011
],
1112
)
1213

13-
deploydocs("github.com/JuliaMath/Polynomials.jl.git")
14+
deploydocs(repo = "github.com/JuliaMath/Polynomials.jl.git")

docs/src/assets/logo.svg

Lines changed: 3 additions & 0 deletions
Loading

docs/src/index.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ differentiation, evaluation, and root finding over dense univariate polynomials.
66
To install the package, run
77

88
```julia
9-
Pkg.add("Polynomials")
9+
(v1.2) pkg> add Polynomials
1010
```
1111

1212
The package can then be loaded into the current session using
@@ -15,16 +15,8 @@ The package can then be loaded into the current session using
1515
using Polynomials
1616
```
1717

18-
```@meta
19-
DocTestSetup = :( using Polynomials )
20-
```
21-
2218
## Functions
2319

24-
```@meta
25-
CurrentModule = Polynomials
26-
```
27-
2820
```@docs
2921
Poly
3022
poly

src/Polynomials.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)