Skip to content

Commit

Permalink
Format @article entries consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Sep 19, 2024
1 parent 16ee5ef commit fd6e360
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/citation_style.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/utils/docs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd6e360

Please sign in to comment.