-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmake.jl
39 lines (35 loc) · 882 Bytes
/
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
# Use
#
# DOCUMENTER_DEBUG=true julia --color=yes make.jl local [nonstrict] [fixdoctests]
#
# for local builds.
using Documenter
using ArraysOfArrays
# Doctest setup
DocMeta.setdocmeta!(
ArraysOfArrays,
:DocTestSetup,
:(using ArraysOfArrays);
recursive=true,
)
makedocs(
sitename = "ArraysOfArrays",
modules = [ArraysOfArrays],
format = Documenter.HTML(
prettyurls = !("local" in ARGS),
canonical = "https://JuliaArrays.github.io/ArraysOfArrays.jl/stable/"
),
pages = [
"Home" => "index.md",
"API" => "api.md",
"LICENSE" => "LICENSE.md",
],
doctest = ("fixdoctests" in ARGS) ? :fix : true,
linkcheck = !("nonstrict" in ARGS),
warnonly = ("nonstrict" in ARGS),
)
deploydocs(
repo = "github.com/JuliaArrays/ArraysOfArrays.jl.git",
forcepush = true,
push_preview = true,
)