From 6c5318938c6988fcea7fea42dff3bf504b4e79ad Mon Sep 17 00:00:00 2001 From: ocots <66357348+ocots@users.noreply.github.com> Date: Thu, 23 Apr 2026 00:44:51 +0000 Subject: [PATCH] Format .jl files --- docs/make.jl | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/make.jl b/docs/make.jl index 8aa690a5..3c13b986 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -183,11 +183,16 @@ using Logging struct ExampleSizeThresholdFilter <: AbstractLogger inner::AbstractLogger end -Logging.min_enabled_level(l::ExampleSizeThresholdFilter) = Logging.min_enabled_level(l.inner) -Logging.shouldlog(l::ExampleSizeThresholdFilter, level, _module, group, id) = +function Logging.min_enabled_level(l::ExampleSizeThresholdFilter) + Logging.min_enabled_level(l.inner) +end +function Logging.shouldlog(l::ExampleSizeThresholdFilter, level, _module, group, id) Logging.shouldlog(l.inner, level, _module, group, id) +end Logging.catch_exceptions(l::ExampleSizeThresholdFilter) = Logging.catch_exceptions(l.inner) -function Logging.handle_message(l::ExampleSizeThresholdFilter, level, message, args...; kwargs...) +function Logging.handle_message( + l::ExampleSizeThresholdFilter, level, message, args...; kwargs... +) msg = string(message) if level == Logging.Warn && occursin("example_size_threshold", msg) return nothing @@ -221,7 +226,7 @@ with_api_reference(src_dir, ext_dir) do api_pages "assets/custom.css", ], size_threshold_ignore=[ - joinpath("api", "private.md"), + joinpath("api", "private.md"), joinpath("api", "public.md"), "manual-macro-free.md", ],