From 7c1f1de5527e779d8c18f673ccb6a4ed98e8399b Mon Sep 17 00:00:00 2001 From: nefrathenrici Date: Wed, 4 Oct 2023 10:01:34 -0700 Subject: [PATCH] fix docs plugin error --- docs/make.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/make.jl b/docs/make.jl index f289e9e7bf..1d32681b03 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -5,11 +5,12 @@ using Base.CoreLogging using DocumenterCitations disable_logging(Base.CoreLogging.Info) # Hide doctest's `@info` printing -doctest(ClimaAtmos) +bib = CitationBibliography(joinpath(@__DIR__, "bibliography.bib")) + +doctest(ClimaAtmos; plugins = [bib]) disable_logging(Base.CoreLogging.BelowMinLevel) # Re-enable all logging include("make_diagnostic_table.jl") -bib = CitationBibliography(joinpath(@__DIR__, "bibliography.bib")) makedocs(; plugins = [bib], modules = [ClimaAtmos],