diff --git a/docs/Project.toml b/docs/Project.toml index 7bd64e3..e0c1b01 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -5,8 +5,8 @@ PALEOaqchem = "673cec3b-17d1-411f-9fcd-71c01c593120" Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" [compat] -Documenter = "0.27" -DocumenterCitations = "0.2" +Documenter = "1" +DocumenterCitations = "1" Revise = "3.1" julia = "1.6" diff --git a/docs/make.jl b/docs/make.jl index 83dbf1e..abcfe04 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -4,9 +4,13 @@ import PALEOaqchem using DocumenterCitations -bib = CitationBibliography(joinpath(@__DIR__, "src/paleoaqchem_references.bib")) +bib = CitationBibliography( + joinpath(@__DIR__, "src/paleoaqchem_references.bib"); + style=:authoryear, +) -makedocs(bib, sitename="PALEOaqchem Documentation", +makedocs(; + sitename = "PALEOaqchem Documentation", pages = [ "index.md", # "Examples and Tutorials" => examples_pages, @@ -26,6 +30,7 @@ makedocs(bib, sitename="PALEOaqchem Documentation", format = Documenter.HTML( prettyurls = get(ENV, "CI", nothing) == "true" ), + plugins = [bib], ) @info "Local html documentation is available at $(joinpath(@__DIR__, "build/index.html"))" diff --git a/docs/src/PALEOaqchem functions.md b/docs/src/PALEOaqchem functions.md index 0f33386..c51210f 100644 --- a/docs/src/PALEOaqchem functions.md +++ b/docs/src/PALEOaqchem functions.md @@ -6,6 +6,4 @@ CurrentModule = PALEOaqchem ```@docs O2AlkUptakeRemin - -StoichPars -``` \ No newline at end of file +```