Skip to content

Commit 4aeb4be

Browse files
committed
Don't restrict types
1 parent 7acd3ae commit 4aeb4be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/MultiDocumenter.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Aggregates multiple Documenter.jl-based documentation pages `docs` into `outdir`
160160
"""
161161
function make(
162162
outdir,
163-
docs::Vector{DropdownComponent};
163+
docs::Vector;
164164
assets_dir = nothing,
165165
brand_image::Union{Nothing,BrandImage} = nothing,
166166
custom_stylesheets = [],
@@ -292,7 +292,7 @@ function flatten_multidocrefs(docs::Vector)
292292
out
293293
end
294294

295-
function maybe_clone(docs::Vector{<: DropdownComponent})
295+
function maybe_clone(docs::Vector)
296296
for doc in filter(x -> x isa MultiDocRef, docs)
297297
if !isdir(doc.upstream)
298298
if isempty(doc.giturl)
@@ -331,7 +331,7 @@ function maybe_clone(docs::Vector{<: DropdownComponent})
331331
end
332332

333333
function make_output_structure(
334-
docs::Vector{<: DropdownComponent},
334+
docs::Vector,
335335
prettyurls,
336336
hide_previews;
337337
canonical::Union{AbstractString,Nothing},
@@ -372,7 +372,7 @@ end
372372

373373
function make_global_nav(
374374
dir,
375-
docs::Vector{<: DropdownComponent},
375+
docs::Vector,
376376
thispagepath,
377377
brand_image,
378378
search_engine,

0 commit comments

Comments
 (0)