@@ -5,7 +5,7 @@ using Pkg
55
66function dev_subpkg (subpkg)
77 subpkg_path = abspath (joinpath (dirname (@__FILE__ ), " .." , " lib" , subpkg))
8- Pkg. develop (PackageSpec (path = subpkg_path))
8+ return Pkg. develop (PackageSpec (path = subpkg_path))
99end
1010
1111dev_subpkg (" DataDrivenDMD" )
@@ -50,25 +50,34 @@ function create_tutorials(dirname, targetdir, excludes = [])
5050 mdpost (str) = replace (str, " @__CODE__" => code)
5151 Literate. markdown (ipath, targetdir)
5252 Literate. markdown (ipath, targetdir, execute = false , postprocess = mdpost)
53- push! (tutorials,
54- relpath (joinpath (targetdir, fname * " .md" ), joinpath (@__DIR__ , " src" )))
53+ push! (
54+ tutorials,
55+ relpath (joinpath (targetdir, fname * " .md" ), joinpath (@__DIR__ , " src" ))
56+ )
5557 end
5658 end
5759 return tutorials
5860end
5961
60- koopman_tutorial = create_tutorials (joinpath (@__DIR__ , " src/libs/datadrivendmd/" ),
61- joinpath (@__DIR__ , " src/libs/datadrivendmd/examples" ))
62- sparse_tutorial = create_tutorials (joinpath (@__DIR__ , " src/libs/datadrivensparse/" ),
63- joinpath (@__DIR__ , " src/libs/datadrivensparse/examples" ))
64- sr_tutorial = create_tutorials (joinpath (@__DIR__ , " src/libs/datadrivensr/" ),
65- joinpath (@__DIR__ , " src/libs/datadrivensr/examples" ))
62+ koopman_tutorial = create_tutorials (
63+ joinpath (@__DIR__ , " src/libs/datadrivendmd/" ),
64+ joinpath (@__DIR__ , " src/libs/datadrivendmd/examples" )
65+ )
66+ sparse_tutorial = create_tutorials (
67+ joinpath (@__DIR__ , " src/libs/datadrivensparse/" ),
68+ joinpath (@__DIR__ , " src/libs/datadrivensparse/examples" )
69+ )
70+ sr_tutorial = create_tutorials (
71+ joinpath (@__DIR__ , " src/libs/datadrivensr/" ),
72+ joinpath (@__DIR__ , " src/libs/datadrivensr/examples" )
73+ )
6674
6775# Must be after tutorials is created
6876include (" pages.jl" )
6977
7078# Create the docs
71- makedocs (sitename = " DataDrivenDiffEq.jl" ,
79+ makedocs (
80+ sitename = " DataDrivenDiffEq.jl" ,
7281 authors = " Julius Martensen, Christopher Rackauckas, et al." ,
7382 modules = [DataDrivenDiffEq, DataDrivenDMD, DataDrivenSparse, DataDrivenSR],
7483 clean = true , doctest = false , linkcheck = true ,
@@ -77,11 +86,16 @@ makedocs(sitename = "DataDrivenDiffEq.jl",
7786 " http://cwrowley.princeton.edu/papers/Hemati-2017a.pdf" ,
7887 " https://royalsocietypublishing.org/doi/10.1098/rspa.2020.0279" ,
7988 " https://www.pnas.org/doi/10.1073/pnas.1517384113" ,
80- " https://link.springer.com/article/10.1007/s00332-015-9258-5"
89+ " https://link.springer.com/article/10.1007/s00332-015-9258-5" ,
8190 ],
82- format = Documenter. HTML (assets = [" assets/favicon.ico" ],
83- canonical = " https://docs.sciml.ai/DataDrivenDiffEq/stable/" ),
84- pages = pages)
91+ format = Documenter. HTML (
92+ assets = [" assets/favicon.ico" ],
93+ canonical = " https://docs.sciml.ai/DataDrivenDiffEq/stable/"
94+ ),
95+ pages = pages
96+ )
8597
86- deploydocs (repo = " github.com/SciML/DataDrivenDiffEq.jl.git" ;
87- push_preview = true )
98+ deploydocs (
99+ repo = " github.com/SciML/DataDrivenDiffEq.jl.git" ;
100+ push_preview = true
101+ )
0 commit comments