You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.0 KiB
43 lines
1.0 KiB
using Documenter
|
|
using UnitCommitment
|
|
using JuMP
|
|
using Literate
|
|
|
|
|
|
|
|
function make()
|
|
literate_sources = [
|
|
"src/tutorials/usage.jl",
|
|
"src/tutorials/customizing.jl",
|
|
"src/tutorials/lmp.jl",
|
|
"src/tutorials/market.jl",
|
|
]
|
|
for src in literate_sources
|
|
Literate.markdown(
|
|
src,
|
|
dirname(src);
|
|
documenter = true,
|
|
credit = false,
|
|
)
|
|
end
|
|
return makedocs(
|
|
sitename = "UnitCommitment.jl",
|
|
pages = [
|
|
"Home" => "index.md",
|
|
"Tutorials" => [
|
|
"tutorials/usage.md",
|
|
"tutorials/customizing.md",
|
|
"tutorials/lmp.md",
|
|
"tutorials/market.md",
|
|
"tutorials/decomposition.md",
|
|
],
|
|
"User guide" => [
|
|
"guides/problem.md",
|
|
"guides/format.md",
|
|
"guides/instances.md",
|
|
],
|
|
"api.md",
|
|
],
|
|
format = Documenter.HTML(assets = ["assets/custom.css"]),
|
|
)
|
|
end |