Skip to content

Commit

Permalink
Update Documenter.jl to 1.0 (#654)
Browse files Browse the repository at this point in the history
* initial changes

* fixes

* add DocumenterCitations compat bound

* remove nightly because the other PR that does that is stuck on a different change

* add source to citations.css; bump version
  • Loading branch information
mateuszbaran authored Sep 26, 2023
1 parent 9337b86 commit 71cd2aa
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 33 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/nightly.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Manifolds"
uuid = "1cead3c2-87b3-11e9-0ccd-23c62b72b94e"
authors = ["Seth Axen <seth.axen@gmail.com>", "Mateusz Baran <mateuszbaran89@gmail.com>", "Ronny Bergmann <manopt@ronnybergmann.net>", "Antoine Levitt <antoine.levitt@gmail.com>"]
version = "0.8.78"
version = "0.8.79"

[deps]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Expand Down
3 changes: 2 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ BoundaryValueDiffEq = "4"
CondaPkg = "0.2"
DiffEqCallbacks = "2"
Distributions = "0.22.6, 0.23, 0.24, 0.25"
Documenter = "0.27"
Documenter = "1"
DocumenterCitations = "1.2.1"
FiniteDifferences = "0.12"
Graphs = "1.4"
HybridArrays = "0.4"
Expand Down
10 changes: 7 additions & 3 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@ end

# (e) ...finally! make docs
bib = CitationBibliography(joinpath(@__DIR__, "src", "references.bib"); style=:alpha)
makedocs(
bib;
makedocs(;
# for development, we disable prettyurls
format=Documenter.HTML(prettyurls=false, assets=["assets/favicon.ico"]),
format=Documenter.HTML(
prettyurls=false,
assets=["assets/favicon.ico", "assets/citations.css"],
),
modules=[
Manifolds,
isdefined(Base, :get_extension) ?
Expand Down Expand Up @@ -165,5 +167,7 @@ makedocs(
"References" => "misc/references.md",
],
],
plugins=[bib],
warnonly=[:missing_docs],
)
deploydocs(repo="github.com/JuliaManifolds/Manifolds.jl.git", push_preview=true)
19 changes: 19 additions & 0 deletions docs/src/assets/citations.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/* Taken from https://juliadocs.org/DocumenterCitations.jl/v1.2/styling/ */

.citation dl {
display: grid;
grid-template-columns: max-content auto; }
.citation dt {
grid-column-start: 1; }
.citation dd {
grid-column-start: 2;
margin-bottom: 0.75em; }
.citation ul {
padding: 0 0 2.25em 0;
margin: 0;
list-style: none;}
.citation ul li {
text-indent: -2.25em;
margin: 0.33em 0.5em 0.5em 2.25em;}
.citation ol li {
padding-left:0.75em;}
2 changes: 1 addition & 1 deletion src/manifolds/GeneralUnitaryMatrices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ end
Compute volume density function of a sphere, i.e. determinant of the differential of
exponential map `exp(M, p, X)`. It is derived from Eq. (4.1) and Corollary 4.4
in [ChevallierLiLuDunson:2022](@ref). See also Theorem 4.1 in [FalorsideHaanDavidsonForre:2019](@cite),
in [ChevallierLiLuDunson:2022](@cite). See also Theorem 4.1 in [FalorsideHaanDavidsonForre:2019](@cite),
(note that it uses a different convention).
"""
function volume_density(M::GeneralUnitaryMatrices{n,ℝ}, p, X) where {n}
Expand Down

2 comments on commit 71cd2aa

@mateuszbaran
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/92272

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.8.79 -m "<description of version>" 71cd2aa54591ee35cdbb45af9c810c5c3704e60c
git push origin v0.8.79

Please sign in to comment.