@@ -3,6 +3,11 @@ import ODEProblemLibrary,
33 SDEProblemLibrary, DDEProblemLibrary, DAEProblemLibrary, BVProblemLibrary
44using Sundials, DASKR
55
6+ # Use development versions for API documentation
7+ import Pkg
8+ Pkg. develop (" OrdinaryDiffEq" )
9+ Pkg. develop (" StochasticDiffEq" )
10+
611cp (" ./docs/Manifest.toml" , " ./docs/src/assets/Manifest.toml" , force = true )
712cp (" ./docs/Project.toml" , " ./docs/src/assets/Project.toml" , force = true )
813
@@ -28,6 +33,23 @@ if isdir(ordinartdiffeq_docs_path)
2833 cp (common_first_steps_file, common_first_steps_dest, force= true )
2934end
3035
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+
3153ENV [" PLOTS_TEST" ] = " true"
3254ENV [" GKSwstype" ] = " 100"
3355
@@ -96,6 +118,7 @@ makedocs(
96118 " https://github.com/SciML/ColPrac/blob/master/README.md" ,
97119 " https://github.com/SciML/DiffEqDevTools.jl/blob/master/src/ode_tableaus.jl" ,
98120 " 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" ,
99122 ],
100123 doctest = false , clean = true ,
101124 warnonly = [:missing_docs , :docs_block ],
0 commit comments