Skip to content

Commit 8b992dc

Browse files
committed
fix doc builds
1 parent 96c70a4 commit 8b992dc

6 files changed

Lines changed: 15 additions & 12 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Finite State Projection [[1]](#1) algorithms for chemical reaction networks bas
99
- FSP equations are generated as `ODEFunction`/`ODEProblem`s and can be solved with [DifferentialEquations.jl](https://github.com/SciML/DifferentialEquations.jl), with on-the-fly generation of targeted functions for improved performance
1010
- The Chemical Master Equation can be represented as a `SparseMatrixCSC`
1111

12-
More information is available in the [documentation](https://kaandocal.github.io/FiniteStateProjection.jl/dev/). Please feel free to open issues and submit pull requests!
12+
More information is available in the [documentation](https://kaandocal.github.io/FiniteStateProjection.jl/dev/). Please feel free to open issues and submit pull requests!
1313

1414
## Examples
1515
### Birth-Death System
@@ -20,7 +20,7 @@ using OrdinaryDiffEq
2020
rn = @reaction_network begin
2121
σ, 0 --> A
2222
d, A --> 0
23-
end σ d
23+
end
2424

2525
sys = FSPSystem(rn)
2626

@@ -30,7 +30,7 @@ ps = [ 10.0, 1.0 ]
3030
# Initial distribution (over 1 species)
3131
# Here we start with 0 copies of A
3232
u0 = zeros(50)
33-
u0[1] = 1.0
33+
u0[1] = 1.0
3434

3535
prob = convert(ODEProblem, sys, u0, (0, 10.0), ps)
3636
sol = solve(prob, Vern7())
@@ -47,7 +47,7 @@ rn = @reaction_network begin
4747
σ_off, G_on --> 0
4848
ρ, G_on --> G_on + M
4949
d, M --> 0
50-
end σ_on σ_off ρ d
50+
end
5151

5252
sys = FSPSystem(rn)
5353

demo/birth_death.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ using PyPlot
77
rs = @reaction_network begin
88
r1, 0 --> A
99
r2, A --> 0
10-
end r1 r2
10+
end
1111

1212
##
1313

demo/telegraph.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ rs = @reaction_network begin
99
r2, G_on --> 0
1010
r3, G_on --> G_on + M
1111
r4, M --> 0
12-
end r1 r2 r3 r4
12+
end
1313

1414
##
1515

@@ -20,9 +20,9 @@ ps = [ 0.25, 0.15, 15.0, 1.0 ]
2020

2121
# Initial values
2222
# Since G_on + G_off = const. we do not have to model the two
23-
# separately. Use reduced_species(sys) to get the list of
23+
# separately. Use reduced_species(sys) to get the list of
2424
# species we actually have to model:
25-
#
25+
#
2626
# julia> reduced_species(sys)
2727
# 2-element Vector{Int64}:
2828
# 1

docs/Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
4+
[compat]
5+
Documenter = "0.27"

docs/src/examples.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ using OrdinaryDiffEq
1111
rn = @reaction_network begin
1212
σ, 0 --> A
1313
d, A --> 0
14-
end σ d
14+
end
1515

1616
sys = FSPSystem(rn)
1717

@@ -21,7 +21,7 @@ ps = [ 10.0, 1.0 ]
2121
# Initial distribution (over 1 species)
2222
# Here we start with 0 copies of A
2323
u0 = zeros(50)
24-
u0[1] = 1.0
24+
u0[1] = 1.0
2525

2626
prob = ODEProblem(sys, u0, (0, 10.0), ps)
2727
sol = solve(prob, Vern7())
@@ -47,7 +47,7 @@ rn = @reaction_network begin
4747
σ_off, G_on --> 0
4848
ρ, G_on --> G_on + M
4949
d, M --> 0
50-
end σ_on σ_off ρ d
50+
end
5151

5252
sys = FSPSystem(rn)
5353

docs/src/troubleshoot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This point might seem obvious, but errors in the rate functions, or an incorrect
4242
rn = @reaction_network begin
4343
σ * (N - I), I --> 2I
4444
ρ, I --> 0
45-
end σ ρ N
45+
end
4646

4747
sys_fsp = FSPSystem(rn)
4848
```

0 commit comments

Comments
 (0)