Skip to content

Commit 8b7ca02

Browse files
authored
[CI] Build the docs with strict = [:doctest], and fix the broken doctests (#5)
1 parent 9051a2e commit 8b7ca02

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/make.jl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
using Documenter, SparseArrays
1+
using SparseArrays
2+
using Documenter: DocMeta, makedocs, deploydocs
3+
4+
DocMeta.setdocmeta!(SparseArrays, :DocTestSetup, :(using SparseArrays; using LinearAlgebra); recursive=true)
25

36
makedocs(
47
modules = [SparseArrays],
58
sitename = "SparseArrays",
69
pages = Any[
710
"SparseArrays" => "index.md"
8-
]
11+
];
12+
# strict = true,
13+
strict = Symbol[:doctest],
914
)
1015

1116
deploydocs(repo = "github.com/JuliaLang/SparseArrays.jl.git")

0 commit comments

Comments
 (0)