From 159217487db5f9cf8e655b765e3748c7fbc562d8 Mon Sep 17 00:00:00 2001 From: Tommy Hofmann Date: Sat, 4 May 2024 14:04:42 +0200 Subject: [PATCH] docs: build with warnonly = false (#1493) --- docs/Build.jl | 7 ++++--- docs/make.jl | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/Build.jl b/docs/Build.jl index 61437fc856..2d89fee9f3 100644 --- a/docs/Build.jl +++ b/docs/Build.jl @@ -87,7 +87,8 @@ remotes = Dict(pkgdir(Nemo) => (gh_moi, version)) function make(Hecke::Module; strict = false, local_build::Bool = false, doctest = true, - format::Symbol = :vitepress) + format::Symbol = :vitepress, + warnonly = false) # Load the bibliography bib = CitationBibliography(joinpath(Hecke.pkgdir, "docs", "src", "Hecke.bib")) @@ -106,7 +107,7 @@ function make(Hecke::Module; strict = false, sitename="Hecke", checkdocs = :none, format = Documenter.HTML(prettyurls = !local_build, collapselevel = 1), - warnonly = true, + warnonly = warnonly, plugins=[bib], doctest = doctest, remotes = remotes, @@ -126,7 +127,7 @@ function make(Hecke::Module; strict = false, #deploy_url = "https://thofma.com/Hecke.jl", build_vitepress = !local_build, ), - warnonly = true, + warnonly = warnonly, plugins=[bib], doctest= doctest, ) diff --git a/docs/make.jl b/docs/make.jl index 09dd9e7332..9e6eb527de 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -4,7 +4,7 @@ using Pkg include(normpath(joinpath(Hecke.pkgdir, "docs", "Build.jl"))) -Build.make(Hecke; strict = Documenter.except(:missing_docs), local_build=false, doctest=true, format = :vitepress) +Build.make(Hecke; strict = Documenter.except(:missing_docs), local_build=false, doctest=true, format = :vitepress, warnonly = false) deploydocs( repo = "github.com/thofma/Hecke.jl.git",