Skip to content

Commit 3f5bfd4

Browse files
committed
Add DocTestSetup
1 parent 1a58153 commit 3f5bfd4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/make.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@ end
123123
# link checking. Inn production we replace this by running the LaTeX build.
124124
write(joinpath(@__DIR__, "src", "MathOptInterface.pdf"), "")
125125

126+
DocMeta.setdocmeta!(
127+
MathOptInterface,
128+
:DocTestSetup,
129+
:(import MathOptInterface as MOI);
130+
recursive=true,
131+
)
132+
126133
@time Documenter.makedocs(
127134
sitename = "MathOptInterface",
128135
authors = "The JuMP core developers and contributors",

0 commit comments

Comments
 (0)