-
Notifications
You must be signed in to change notification settings - Fork 10
/
make.jl
62 lines (55 loc) · 2.47 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
using Documenter
using Unfold
using AlgebraOfGraphics # can be removed with UnfoldMakie 0.3.0
using DocStringExtensions
using Literate
using Glob
GENERATED = joinpath(@__DIR__, "src", "generated")
SOURCE = joinpath(@__DIR__, "literate")
for subfolder ∈ ["explanations", "HowTo", "tutorials"]
local SOURCE_FILES = Glob.glob(subfolder * "/*.jl", SOURCE)
foreach(fn -> Literate.markdown(fn, GENERATED * "/" * subfolder), SOURCE_FILES)
end
makedocs(
sitename = "Unfold.jl Timeseries Analysis & Deconvolution",
#root = joinpath(dirname(pathof(Unfold)), "..", "docs"),
#prettyurls = get(ENV, "CI", nothing) == "true",
repo = Documenter.Remotes.GitHub("unfoldtoolbox", "Unfold.jl"),
pages = [
"index.md",
"Installing Julia + Unfold.jl" => "installation.md",
"Tutorials" => [
"Mass univariate LM" => "tutorials/lm_mu.md",
"LM overlap correction" => "tutorials/lm_overlap.md",
"Mass univariate Mixed Model" => "tutorials/lmm_mu.md",
"LMM + overlap correction" => "tutorials/lmm_overlap.md",
],
"HowTo" => [
"Overlap: Multiple events" => "HowTo/multiple_events.md",
"Import EEG with 🐍 PyMNE.jl" => "HowTo/pymne.md",
"Standard errors" => "HowTo/standarderrors.md",
"Alternative Solvers (Robust, GPU, B2B)" => "HowTo/custom_solvers.md",
"🐍 Calling Unfold.jl directly from Python" => "generated/HowTo/juliacall_unfold.md",
"P-values for mixedModels" => "HowTo/lmm_pvalues.md",
"Marginal effects (focus on non-linear predictors)" => "generated/HowTo/effects.md",
#"Time domain basis functions"=>"generated/HowTo/timesplines.md",
"Save and load Unfold models" => "generated/HowTo/unfold_io.md",
],
"Explanations" => [
"About basisfunctions" => "./explanations/basisfunctions.md",
"Non-Linear effects" => "./generated/explanations/nonlinear_effects.md",
"Window Length Effect" => "./generated/explanations/window_length.md",
],
"Reference" => [
"Overview of package extensions" => "references/extensions.md",
"Development environment" => "explanations/development.md",
"API: Types" => "references/types.md",
"API: Functions" => "references/functions.md",
],
],
)
deploydocs(;
repo = "github.com/unfoldtoolbox/Unfold.jl",
push_preview = true,
devbranch = "main",
)