Skip to content

Commit 252d7c7

Browse files
committed
docs: add SciMLJacobianOperators
1 parent 37c56f7 commit 252d7c7

File tree

4 files changed

+46
-3
lines changed

4 files changed

+46
-3
lines changed

.github/workflows/Documentation.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,18 @@ jobs:
2323
JULIA_DEBUG: "Documenter"
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
2525
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
26-
run: julia --project=docs/ --code-coverage=user --color=yes docs/make.jl
26+
run: |
27+
import Pkg
28+
Pkg.Registry.update()
29+
# Install packages present in subdirectories
30+
dev_pks = Pkg.PackageSpec[]
31+
for path in ("lib/SciMLJacobianOperators",)
32+
push!(dev_pks, Pkg.PackageSpec(; path))
33+
end
34+
Pkg.develop(dev_pks)
35+
Pkg.instantiate()
36+
include("docs/make.jl")
37+
shell: julia --project=docs/ --code-coverage=user --color=yes {0}
2738
- uses: julia-actions/julia-processcoverage@v1
2839
- uses: codecov/codecov-action@v4
2940
with:

docs/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
1414
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
1515
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1616
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
17+
SciMLJacobianOperators = "19f34311-ddf3-4b8b-af20-060888a46c0e"
1718
SimpleNonlinearSolve = "727e6d20-b764-4bd8-a329-72de5adea6c7"
1819
SparseDiffTools = "47a9eef4-7e08-11e9-0b38-333d64bd3804"
1920
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
@@ -36,6 +37,7 @@ OrdinaryDiffEq = "6"
3637
Plots = "1"
3738
Random = "<0.0.1, 1"
3839
SciMLBase = "2.4"
40+
SciMLJacobianOperators = "0.1"
3941
SimpleNonlinearSolve = "1"
4042
SparseDiffTools = "2.14"
4143
StaticArrays = "1"

docs/make.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using Documenter, DocumenterCitations
22
using NonlinearSolve, SimpleNonlinearSolve, Sundials, SteadyStateDiffEq, SciMLBase,
33
DiffEqBase
4+
using SciMLJacobianOperators
45

56
cp(joinpath(@__DIR__, "Manifest.toml"),
67
joinpath(@__DIR__, "src/assets/Manifest.toml"), force = true)
@@ -13,8 +14,8 @@ bib = CitationBibliography(joinpath(@__DIR__, "src", "refs.bib"))
1314

1415
makedocs(; sitename = "NonlinearSolve.jl",
1516
authors = "Chris Rackauckas",
16-
modules = [NonlinearSolve, SimpleNonlinearSolve,
17-
SteadyStateDiffEq, Sundials, DiffEqBase, SciMLBase],
17+
modules = [NonlinearSolve, SimpleNonlinearSolve, SteadyStateDiffEq,
18+
Sundials, DiffEqBase, SciMLBase, SciMLJacobianOperators],
1819
clean = true,
1920
doctest = false,
2021
linkcheck = true,
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
```@meta
2+
CurrentModule = SciMLJacobianOperators
3+
```
4+
5+
# SciMLJacobianOperators.jl
6+
7+
This is a subpackage on NonlinearSolve providing a general purpose JacVec and VecJac
8+
operator built on top on DifferentiationInterface.jl.
9+
10+
```julia
11+
import Pkg
12+
Pkg.add("SciMLJacobianOperators")
13+
using SciMLJacobianOperators
14+
```
15+
16+
## Jacobian API
17+
18+
```@docs
19+
JacobianOperator
20+
VecJacOperator
21+
JacVecOperator
22+
```
23+
24+
## Stateful Operators
25+
26+
```@docs
27+
StatefulJacobianOperator
28+
StatefulJacobianNormalFormOperator
29+
```

0 commit comments

Comments
 (0)