forked from madsuite-org/powertech2025
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake.jl
More file actions
27 lines (24 loc) · 951 Bytes
/
Copy pathmake.jl
File metadata and controls
27 lines (24 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using Literate
dest_dir = "docs/src"
mkpath(dest_dir)
for script in ["utils.jl", "powerflow.jl"]
cp(script, joinpath(dest_dir, script); force=true)
end
Literate.markdown("0-crashcourse.jl", dest_dir)
Literate.markdown("1-powerflow.jl", dest_dir)
Literate.markdown("2-batched-powerflow.jl", dest_dir)
Literate.markdown("3-constrained-powerflow.jl", dest_dir)
Literate.markdown("4-optimal-powerflow.jl", dest_dir)
Literate.markdown("5-exa-models-power.jl", dest_dir)
dest_dir = "notebooks"
mkpath(dest_dir)
for script in ["utils.jl", "powerflow.jl"]
cp(script, joinpath(dest_dir, script); force=true)
end
Literate.notebook("0-crashcourse.jl", dest_dir)
Literate.notebook("1-powerflow.jl", dest_dir)
Literate.notebook("2-batched-powerflow.jl", dest_dir)
Literate.notebook("3-constrained-powerflow.jl", dest_dir)
Literate.notebook("4-optimal-powerflow.jl", dest_dir)
Literate.notebook("5-exa-models-power.jl", dest_dir)
include("docs/make.jl")