-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake.jl
47 lines (42 loc) · 1.5 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
using UnfoldMixedModels
using Documenter
DocMeta.setdocmeta!(
UnfoldMixedModels,
:DocTestSetup,
:(using UnfoldMixedModels);
recursive = true,
)
const page_rename = Dict("developer.md" => "Developer docs") # Without the numbers
const numbered_pages = [
file for file in readdir(joinpath(@__DIR__, "src")) if
file != "index.md" && splitext(file)[2] == ".md"
]
makedocs(;
modules = [UnfoldMixedModels],
authors = "Benedikt Ehinger <benedikt.ehinger@vis.uni-stuttgart.de>",
repo = "https://github.com/unfoldtoolbox/UnfoldMixedModels.jl/blob/{commit}{path}#{line}",
sitename = "UnfoldMixedModels.jl",
format = Documenter.HTML(;
prettyurls = get(ENV, "CI", "false") == "true",
canonical = "https://unfoldtoolbox.github.io/UnfoldMixedModels.jl",
sidebar_sitename = false,
edit_link = "main",
assets = String[],
),
pages = [
"index.md",
"Tutorials" => [
"lmmERP (mass univariate)" => "tutorials/lmm_mu.md",
"lmmERP (overlap correction)" => "tutorials/lmm_overlap.md",
],
"HowTo" => ["P-values for mixedModels" => "howto/lmm_pvalues.md"],
"Explanations" => [],
"Reference" => [
"API: Types" => "references/types.md",
"API: Functions" => "references/functions.md",
],
"Contributing" => ["90-contributing.md"],
"Developer Guide" => ["91-developer.md"],
],
)
deploydocs(; repo = "github.com/unfoldtoolbox/UnfoldMixedModels.jl")