From 252316c6bba08cbd10c90d301c1c1a4bc5ef1f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20G=C3=B6ttgens?= Date: Mon, 16 Oct 2023 12:33:16 +0200 Subject: [PATCH] Fix DocumenterCitations.jl --- docs/Project.toml | 2 +- docs/citation_style.jl | 4 ++-- docs/make_work.jl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index f36368924c9c..72dca71655b5 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -4,4 +4,4 @@ DocumenterCitations = "daee34ce-89f3-4625-b898-19384cb65244" [compat] Documenter = "1.1" -DocumenterCitations = "~1.1, ~1.2" +DocumenterCitations = "~1.2" diff --git a/docs/citation_style.jl b/docs/citation_style.jl index d881daea7bc1..5753fb9e97f0 100644 --- a/docs/citation_style.jl +++ b/docs/citation_style.jl @@ -8,7 +8,7 @@ import DocumenterCitations # we use some (undocumented) internal helper functions for formatting... -using DocumenterCitations: format_names, tex2unicode, italicize_md_et_al +using DocumenterCitations: format_names, tex2unicode const oscar_style = :oscar @@ -66,7 +66,7 @@ function DocumenterCitations.format_citation( ) end capitalize && (names = uppercasefirst(names)) - link_text = italicize_md_et_al("$names $link_text") + link_text = "$names $link_text" end return link_text end diff --git a/docs/make_work.jl b/docs/make_work.jl index c2c5c347d5eb..004b640e0e2b 100644 --- a/docs/make_work.jl +++ b/docs/make_work.jl @@ -182,8 +182,7 @@ function doit( Documenter.doctest(Oscar, fix = doctest === :fix) end - makedocs( - bib; + makedocs(; format=Documenter.HTML(; prettyurls=!local_build, collapselevel=1), sitename="Oscar.jl", modules=[Oscar, Oscar.Hecke, Oscar.Nemo, Oscar.AbstractAlgebra, Oscar.Singular], @@ -192,6 +191,7 @@ function doit( warnonly=warnonly, checkdocs=:none, pages=doc, + plugins=[bib] ) end