/
make.jl
72 lines (69 loc) · 2.98 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
using Documenter, StructuralEquationModels
makedocs(
sitename = "StructuralEquationModels.jl",
pages = [
"index.md",
"Tutorials" => [
"A first model" => "tutorials/first_model.md",
"Our Concept of a Structural Equation Model" => "tutorials/concept.md",
"Model Specification" => [
"tutorials/specification/specification.md",
"tutorials/specification/graph_interface.md",
"tutorials/specification/ram_matrices.md",
"tutorials/specification/parameter_table.md",
],
"Model Construction" => [
"tutorials/construction/construction.md",
"tutorials/construction/outer_constructor.md",
"tutorials/construction/build_by_parts.md",
],
"Optimization Backends" =>
["tutorials/backends/optim.md", "tutorials/backends/nlopt.md"],
"Model Fitting" => "tutorials/fitting/fitting.md",
"Model Inspection" => "tutorials/inspection/inspection.md",
"Mean Structures" => "tutorials/meanstructure.md",
"Collections" => [
"tutorials/collection/collection.md",
"tutorials/collection/multigroup.md",
],
"Constraints" => "tutorials/constraints/constraints.md",
],
"Developer documentation" => [
"Extending the package" => "developer/extending.md",
"Custom loss functions" => "developer/loss.md",
"Custom imply types" => "developer/imply.md",
"Custom optimizer types" => "developer/optimizer.md",
"Custom observed types" => "developer/observed.md",
"Custom model types" => "developer/sem.md",
],
"Advanced tutorials" =>
["Regularization" => "tutorials/regularization/regularization.md"],
"Performance tips" => [
"Model sorting" => "performance/sorting.md",
"MKL" => "performance/mkl.md",
"Simulation studies" => "performance/simulation.md",
"Symbolic precomputation" => "performance/symbolic.md",
"Starting values" => "performance/starting_values.md",
"Parametric Types" => "performance/parametric.md",
],
"Internals and design" => [
"Internals and design" => "internals/internals.md",
"files" => "internals/files.md",
"types" => "internals/types.md",
],
"Complementary material" => ["Mathematical appendix" => "complementary/maths.md"],
],
format = Documenter.HTML(
prettyurls = get(ENV, "CI", nothing) == "true",
assets = ["assets/favicon_zeta.ico"],
ansicolor = true,
collapselevel = 1,
),
doctest = false,
)
# doctest(StructuralEquationModels, fix=true)
deploydocs(
repo = "github.com/StructuralEquationModels/StructuralEquationModels.jl",
devbranch = "devel",
push_preview = "push_preview=true" ∈ ARGS,
)