From d3fe24a263e78b8a470ee832302d7765a281b080 Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Sat, 2 Dec 2023 23:22:02 -0600 Subject: [PATCH] Update Project.toml --- Project.toml | 14 +++++++++++--- docs/Project.toml | 6 ++++++ docs/make.jl | 18 ++++++++++++++++++ docs/src/index.md | 9 +++++++++ src/CUDSS.jl | 2 -- 5 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 docs/Project.toml create mode 100644 docs/make.jl create mode 100644 docs/src/index.md diff --git a/Project.toml b/Project.toml index af28891..6ece462 100644 --- a/Project.toml +++ b/Project.toml @@ -7,11 +7,19 @@ version = "0.1.0" CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82" CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" CUDSS_jll = "4889d778-9329-5762-9fec-0578a5d30366" -LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" -SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" + +[compat] +CEnum = "0.4" +CUDA = "5" +julia = "1.6" +LinearAlgebra = "1.6" +SparseArrays = "1.6" +Test = "1.6" [extras] +LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["Test"] +test = ["LinearAlgebra", "SparseArrays", "Test"] diff --git a/docs/Project.toml b/docs/Project.toml new file mode 100644 index 0000000..37ab2c5 --- /dev/null +++ b/docs/Project.toml @@ -0,0 +1,6 @@ +[deps] +Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +CUDSS = "45b445bb-4962-46a0-9369-b4df9d0f772e" + +[compat] +Documenter = "1.0" diff --git a/docs/make.jl b/docs/make.jl new file mode 100644 index 0000000..7e8563b --- /dev/null +++ b/docs/make.jl @@ -0,0 +1,18 @@ +using Documenter, CUDSS + +makedocs( + modules = [CUDSS], + doctest = true, + linkcheck = true, + format = Documenter.HTML(ansicolor = true, + prettyurls = get(ENV, "CI", nothing) == "true", + collapselevel = 1), + sitename = "CUDSS.jl", + pages = ["Home" => "index.md"] +) + +deploydocs( + repo = "github.com/exanauts/CUDSS.jl.git", + push_preview = true, + devbranch = "main", +) diff --git a/docs/src/index.md b/docs/src/index.md new file mode 100644 index 0000000..754c35e --- /dev/null +++ b/docs/src/index.md @@ -0,0 +1,9 @@ +# [CUDSS.jl documentation](@id Home) + +## Installation + +```julia +julia> ] +pkg> add https://github.com/exanauts/CUDSS.jl.git +pkg> test CUDSS +``` diff --git a/src/CUDSS.jl b/src/CUDSS.jl index 21161d5..00b1c27 100644 --- a/src/CUDSS.jl +++ b/src/CUDSS.jl @@ -1,8 +1,6 @@ module CUDSS using CUDA, CUDA.CUSPARSE -using LinearAlgebra -using SparseArrays using CUDSS_jll import CUDA: @checked, libraryPropertyType, cudaDataType, initialize_context, retry_reclaim, CUstream