forked from SciML/ModelingToolkit.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake.jl
36 lines (30 loc) · 1.21 KB
/
make.jl
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
28
29
30
31
32
33
34
35
36
using Documenter, ModelingToolkit
# Make sure that plots don't throw a bunch of warnings / errors!
ENV["GKSwstype"] = "100"
using Plots
cp("./docs/Manifest.toml", "./docs/src/assets/Manifest.toml", force = true)
cp("./docs/Project.toml", "./docs/src/assets/Project.toml", force = true)
include("pages.jl")
mathengine = MathJax3(Dict(:loader => Dict("load" => ["[tex]/require", "[tex]/mathtools"]),
:tex => Dict("inlineMath" => [["\$", "\$"], ["\\(", "\\)"]],
"packages" => [
"base",
"ams",
"autoload",
"mathtools",
"require",
])))
makedocs(sitename = "ModelingToolkit.jl",
authors = "Chris Rackauckas",
modules = [ModelingToolkit],
clean = true, doctest = false, linkcheck = true,
warnonly = [:docs_block, :missing_docs, :cross_references],
linkcheck_ignore = ["https://epubs.siam.org/doi/10.1137/0903023"],
format = Documenter.HTML(;
assets = ["assets/favicon.ico"],
mathengine,
canonical = "https://docs.sciml.ai/ModelingToolkit/stable/",
prettyurls = (get(ENV, "CI", nothing) == "true")),
pages = pages)
deploydocs(repo = "github.com/SciML/ModelingToolkit.jl.git";
push_preview = true)