@@ -3,6 +3,11 @@ import ODEProblemLibrary,
3
3
SDEProblemLibrary, DDEProblemLibrary, DAEProblemLibrary, BVProblemLibrary
4
4
using Sundials, DASKR
5
5
6
+ # Use development versions for API documentation
7
+ import Pkg
8
+ Pkg. develop (" OrdinaryDiffEq" )
9
+ Pkg. develop (" StochasticDiffEq" )
10
+
6
11
cp (" ./docs/Manifest.toml" , " ./docs/src/assets/Manifest.toml" , force = true )
7
12
cp (" ./docs/Project.toml" , " ./docs/src/assets/Project.toml" , force = true )
8
13
@@ -28,6 +33,23 @@ if isdir(ordinartdiffeq_docs_path)
28
33
cp (common_first_steps_file, common_first_steps_dest, force= true )
29
34
end
30
35
36
+ # Copy StochasticDiffEq.jl documentation
37
+ stochasticdiffeq_docs_root = joinpath (dirname (pathof (StochasticDiffEq)), " .." , " docs" )
38
+ stochasticdiffeq_docs_path = joinpath (stochasticdiffeq_docs_root, " src" )
39
+ if isdir (stochasticdiffeq_docs_path)
40
+ # Create the StochasticDiffEq API directory in the docs
41
+ stochastic_diffeq_dest = joinpath (@__DIR__ , " src" , " api" , " stochasticdiffeq" )
42
+ mkpath (dirname (stochastic_diffeq_dest))
43
+
44
+ # Copy all the docs from StochasticDiffEq.jl
45
+ cp (stochasticdiffeq_docs_path, stochastic_diffeq_dest, force= true )
46
+
47
+ # Copy the pages.jl file from StochasticDiffEq.jl
48
+ stochastic_diffeq_pages_dest = joinpath (@__DIR__ , " stochasticdiffeq_pages.jl" )
49
+ stochastic_diffeq_pages_file = joinpath (stochasticdiffeq_docs_root, " pages.jl" )
50
+ cp (stochastic_diffeq_pages_file, stochastic_diffeq_pages_dest, force= true )
51
+ end
52
+
31
53
ENV [" PLOTS_TEST" ] = " true"
32
54
ENV [" GKSwstype" ] = " 100"
33
55
@@ -96,6 +118,7 @@ makedocs(
96
118
" https://github.com/SciML/ColPrac/blob/master/README.md" ,
97
119
" https://github.com/SciML/DiffEqDevTools.jl/blob/master/src/ode_tableaus.jl" ,
98
120
" https://github.com/SciML/DiffEqProblemLibrary.jl/blob/master/lib/BVProblemLibrary/src/BVProblemLibrary.jl" ,
121
+ " https://github.com/SciML/DiffEqProblemLibrary.jl/blob/master/lib/DDEProblemLibrary/src/DDEProblemLibrary.jl" ,
99
122
],
100
123
doctest = false , clean = true ,
101
124
warnonly = [:missing_docs , :docs_block ],
0 commit comments