Skip to content

Commit

Permalink
docs: build with warnonly = false (#1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma authored May 4, 2024
1 parent 38b1099 commit 1592174
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions docs/Build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand All @@ -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,
Expand All @@ -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,
)
Expand Down
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1592174

Please sign in to comment.