Skip to content

Commit e84a39e

Browse files
committed
Don't run extension doctests twice
These already seem to be picked up by the main docs build
1 parent cbbd4b0 commit e84a39e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docs/make.jl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,6 @@ function get_extension(mod::Module, name::Symbol)
7070
end
7171
end
7272

73-
using MCMCDiagnosticTools: MCMCDiagnosticTools
74-
using PosteriorStats: PosteriorStats
75-
for extended_pkg in (MCMCDiagnosticTools, PosteriorStats)
76-
extension_name = Symbol("InferenceObjects", extended_pkg, "Ext")
77-
@info "Running doctests for extension $(extension_name)"
78-
mod = get_extension(InferenceObjects, extension_name)
79-
DocMeta.setdocmeta!(mod, :DocTestSetup, :(using $(Symbol(extended_pkg))))
80-
doctest(mod; manual=false)
81-
end
82-
8373
deploydocs(;
8474
repo="github.com/arviz-devs/InferenceObjects.jl", devbranch="main", push_preview=true
8575
)

0 commit comments

Comments
 (0)