Skip to content

Commit

Permalink
Fix DocumenterCitations.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Oct 17, 2023
1 parent f39c60a commit 252316c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ DocumenterCitations = "daee34ce-89f3-4625-b898-19384cb65244"

[compat]
Documenter = "1.1"
DocumenterCitations = "~1.1, ~1.2"
DocumenterCitations = "~1.2"
4 changes: 2 additions & 2 deletions docs/citation_style.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions docs/make_work.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand All @@ -192,6 +191,7 @@ function doit(
warnonly=warnonly,
checkdocs=:none,
pages=doc,
plugins=[bib]
)
end

Expand Down

0 comments on commit 252316c

Please sign in to comment.