Skip to content

Commit 6c53189

Browse files
ocotsgithub-actions[bot]
authored andcommitted
Format .jl files
1 parent 04c63e7 commit 6c53189

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

docs/make.jl

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,16 @@ using Logging
183183
struct ExampleSizeThresholdFilter <: AbstractLogger
184184
inner::AbstractLogger
185185
end
186-
Logging.min_enabled_level(l::ExampleSizeThresholdFilter) = Logging.min_enabled_level(l.inner)
187-
Logging.shouldlog(l::ExampleSizeThresholdFilter, level, _module, group, id) =
186+
function Logging.min_enabled_level(l::ExampleSizeThresholdFilter)
187+
Logging.min_enabled_level(l.inner)
188+
end
189+
function Logging.shouldlog(l::ExampleSizeThresholdFilter, level, _module, group, id)
188190
Logging.shouldlog(l.inner, level, _module, group, id)
191+
end
189192
Logging.catch_exceptions(l::ExampleSizeThresholdFilter) = Logging.catch_exceptions(l.inner)
190-
function Logging.handle_message(l::ExampleSizeThresholdFilter, level, message, args...; kwargs...)
193+
function Logging.handle_message(
194+
l::ExampleSizeThresholdFilter, level, message, args...; kwargs...
195+
)
191196
msg = string(message)
192197
if level == Logging.Warn && occursin("example_size_threshold", msg)
193198
return nothing
@@ -221,7 +226,7 @@ with_api_reference(src_dir, ext_dir) do api_pages
221226
"assets/custom.css",
222227
],
223228
size_threshold_ignore=[
224-
joinpath("api", "private.md"),
229+
joinpath("api", "private.md"),
225230
joinpath("api", "public.md"),
226231
"manual-macro-free.md",
227232
],

0 commit comments

Comments
 (0)