Skip to content

Commit

Permalink
Fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Nov 6, 2024
1 parent 79f833f commit 2b6880f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.8'
- '1.9'
- '1.10'
os:
Expand Down
2 changes: 2 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manifest.toml
build
1 change: 1 addition & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656"
SparseMatricesCSR = "a0a7dd2c-ebf4-11e9-1f05-cf50bc540ca1"
8 changes: 7 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using Documenter, SparseMatricesCSR
using Documenter, DocumenterInterLinks
using SparseMatricesCSR

links = InterLinks(
"SparseArrays" => "https://docs.julialang.org/en/v1/"
)

makedocs(;
modules=[SparseMatricesCSR],
Expand All @@ -9,6 +14,7 @@ makedocs(;
repo="https://github.com/gridap/SparseMatricesCSR.jl/blob/{commit}{path}#L{line}",
sitename="SparseMatricesCSR.jl",
authors="Víctor Sande <[email protected]> and Francesc Verdugo <[email protected]>",
plugins=[links],
)

deploydocs(;
Expand Down
2 changes: 1 addition & 1 deletion src/SparseMatrixCSR.jl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ SparseMatrixCSR{1}(a::Transpose{Tv,<:SparseMatrixCSC} where Tv) = SparseMatrixCS
Create a `SparseMatrixCSR` with `Bi`-based indexing (1 by default)
from the same `args...` as one constructs a `SparseMatrixCSC`
with the [`sparse`](@ref) function.
with the [`SparseArrays.sparse`](@extref) function.
"""
sparsecsr(I,J,V) = SparseMatrixCSR(transpose(sparse(J,I,V,dimlub(J),dimlub(I))))
sparsecsr(I,J,V,m,n) = SparseMatrixCSR(transpose(sparse(J,I,V,n,m)))
Expand Down

0 comments on commit 2b6880f

Please sign in to comment.