Skip to content

Commit

Permalink
Merge #2188
Browse files Browse the repository at this point in the history
2188: fix docs plugin error r=nefrathenrici a=nefrathenrici

I think that `bib` needs to be passed into the `plugin` kwarg for `doctest`

[Current Main](https://github.com/CliMA/ClimaAtmos.jl/actions/runs/6402119280/job/17378222720#step:5:8) (Merge #2186) still produces errors.

[Current Branch](https://github.com/CliMA/ClimaAtmos.jl/actions/runs/6409310195/job/17400227907#step:5:8) does not have errors. There are some warnings related to specific citations.

Co-authored-by: nefrathenrici <nat.henrici@gmail.com>
  • Loading branch information
bors[bot] and nefrathenrici authored Oct 4, 2023
2 parents 07ad86c + 7c1f1de commit 641cdeb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 641cdeb

Please sign in to comment.