diff --git a/docs/citation_style.jl b/docs/citation_style.jl index 719aef7b57ea..38bb4d45a920 100644 --- a/docs/citation_style.jl +++ b/docs/citation_style.jl @@ -11,7 +11,7 @@ const oscar_style = :oscar # The long reference string in the bibliography function DocumenterCitations.format_bibliography_reference(style::Val{oscar_style}, entry) - return DocumenterCitations.format_labeled_bibliography_reference(style, entry) + return DocumenterCitations.format_labeled_bibliography_reference(style, entry; article_link_doi_in_title=true) end # The label in the bibliography diff --git a/src/utils/docs.jl b/src/utils/docs.jl index 3c59a6a902b1..dc508c599fad 100644 --- a/src/utils/docs.jl +++ b/src/utils/docs.jl @@ -32,6 +32,7 @@ function doc_init(;path=mktempdir()) Pkg.develop(path=Base.pkgdir(pkg)) end Pkg.develop(path=oscardir) + Pkg.add(url="https://github.com/JuliaDocs/DocumenterCitations.jl", rev="1cc81590893888b9670b5fb86dd935895847061d") Pkg.instantiate() Base.include(Main, joinpath(oscardir, "docs", "make_work.jl")) end