Skip to content

Commit

Permalink
Update to Documenter v1, DocumenterCitations v1 (#8)
Browse files Browse the repository at this point in the history
* Update to Documenter v1, DocumenterCitations v1

* Update Documenter, DocumenterCitations

* fix typo

* Doc fix remove non-existent StoichPars
  • Loading branch information
sjdaines authored Sep 24, 2023
1 parent 053fadb commit f5eaac3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
9 changes: 7 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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"))"
Expand Down
4 changes: 1 addition & 3 deletions docs/src/PALEOaqchem functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ CurrentModule = PALEOaqchem

```@docs
O2AlkUptakeRemin
StoichPars
```
```

0 comments on commit f5eaac3

Please sign in to comment.