Skip to content

Commit eb4edc2

Browse files
committed
flatten_multidocrefs -> flatten_dropdowncomponents
1 parent a02cb96 commit eb4edc2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/MultiDocumenter.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,10 @@ function make(
224224
end
225225
site_root_url = string(canonical_domain, rstrip(rootpath, '/'))
226226

227-
maybe_clone(flatten_multidocrefs(docs))
227+
maybe_clone(flatten_dropdowncomponents(docs))
228228

229229
dir = make_output_structure(
230-
flatten_multidocrefs(docs),
230+
flatten_dropdowncomponents(docs),
231231
prettyurls,
232232
hide_previews;
233233
canonical = site_root_url,
@@ -260,7 +260,7 @@ function make(
260260
if search_engine != false
261261
search_engine.engine.build_search_index(
262262
dir,
263-
flatten_multidocrefs(docs),
263+
flatten_dropdowncomponents(docs),
264264
search_engine,
265265
rootpath,
266266
)
@@ -280,7 +280,7 @@ function make(
280280
return outdir
281281
end
282282

283-
function flatten_multidocrefs(docs::Vector)
283+
function flatten_dropdowncomponents(docs::Vector)
284284
out = DropdownComponent[]
285285
for doc in docs
286286
if doc isa DropdownComponent
@@ -340,7 +340,7 @@ function maybe_clone(docs::Vector)
340340
end
341341

342342
function make_output_structure(
343-
docs::Vector,
343+
docs::Vector{DropdownComponent},
344344
prettyurls,
345345
hide_previews;
346346
canonical::Union{AbstractString,Nothing},

0 commit comments

Comments
 (0)