-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathmake.jl
23 lines (21 loc) · 804 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
using Documenter, JuliaFormatter
makedocs(;
sitename = "JuliaFormatter",
format = Documenter.HTML(; prettyurls = get(ENV, "CI", nothing) == "true"),
modules = [JuliaFormatter],
pages = [
"Introduction" => "index.md",
"How It Works" => "how_it_works.md",
"Code Style" => "style.md",
"Skipping Formatting" => "skipping_formatting.md",
"Syntax Transforms" => "transforms.md",
"Custom Alignment" => "custom_alignment.md",
"YAS Style" => "yas_style.md",
"Blue Style" => "blue_style.md",
"SciML Style" => "sciml_style.md",
"Configuration File" => "config.md",
"API Reference" => "api.md",
],
warnonly = true,
)
deploydocs(; repo = "github.com/domluna/JuliaFormatter.jl.git", push_preview = true)