diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06cc3d8..8622170 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,7 @@ jobs: fail-fast: false matrix: version: + - '1.8' - '1.9' - '1.10' os: diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 0000000..4cdc6db --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1,2 @@ +Manifest.toml +build \ No newline at end of file diff --git a/docs/Project.toml b/docs/Project.toml index f6759c2..a7b73e8 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,3 +1,4 @@ [deps] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656" SparseMatricesCSR = "a0a7dd2c-ebf4-11e9-1f05-cf50bc540ca1" diff --git a/docs/make.jl b/docs/make.jl index 9c7a601..15b2438 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,4 +1,9 @@ -using Documenter, SparseMatricesCSR +using Documenter, DocumenterInterLinks +using SparseMatricesCSR + +links = InterLinks( + "SparseArrays" => "https://docs.julialang.org/en/v1/" +) makedocs(; modules=[SparseMatricesCSR], @@ -9,6 +14,7 @@ makedocs(; repo="https://github.com/gridap/SparseMatricesCSR.jl/blob/{commit}{path}#L{line}", sitename="SparseMatricesCSR.jl", authors="VĂ­ctor Sande and Francesc Verdugo ", + plugins=[links], ) deploydocs(; diff --git a/src/SparseMatrixCSR.jl b/src/SparseMatrixCSR.jl index ac73733..f1e73f6 100644 --- a/src/SparseMatrixCSR.jl +++ b/src/SparseMatrixCSR.jl @@ -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)))