-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathmake.jl
34 lines (30 loc) · 1.1 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
using Documenter
using MeasureTheory
DocMeta.setdocmeta!(MeasureBase, :DocTestSetup, :(using MeasureBase); recursive = true)
DocMeta.setdocmeta!(MeasureTheory, :DocTestSetup, :(using MeasureTheory); recursive = true)
pages = [
"Home" => "index.md",
"Tutorials" => [
"Adding a new measure" => "adding.md",
"Affine transformations" => "affine.md",
"Variate transformations" => "vartransform.md",
],
"API Reference" => [
"MeasureBase" => "api_measurebase.md",
"MeasureTheory" => "api_measuretheory.md",
"Index" => "api_index.md",
],
]
makedocs(;
modules = [MeasureBase, MeasureTheory],
authors = "Chad Scherrer <[email protected]> and contributors",
repo = "https://github.com/cscherrer/MeasureTheory.jl/blob/{commit}{path}#L{line}",
sitename = "MeasureTheory.jl",
format = Documenter.HTML(;
prettyurls = get(ENV, "CI", "false") == "true",
canonical = "https://cscherrer.github.io/MeasureTheory.jl",
assets = String[],
),
pages = pages,
)
deploydocs(; repo = "github.com/cscherrer/MeasureTheory.jl")