Skip to content

Commit 5bd4101

Browse files
authored
Deploy the docs to GitHub Pages
1 parent 4d1b038 commit 5bd4101

File tree

1 file changed

+26
-18
lines changed

1 file changed

+26
-18
lines changed

docs/make.jl

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,33 @@
1-
using Documenter, KernelAbstractions
1+
using KernelAbstractions
2+
using Documenter
23

3-
makedocs(
4-
modules = [KernelAbstractions],
5-
sitename = "KernelAbstractions",
6-
format = Documenter.HTML(
7-
prettyurls = get(ENV, "CI", nothing) == "true"
4+
makedocs(;
5+
modules=[KernelAbstractions],
6+
authors="JuliaGPU and contributors",
7+
repo="https://github.com/JuliaGPU/KernelAbstractions.jl/blob/{commit}{path}#L{line}",
8+
sitename="KernelAbstractions.jl",
9+
format=Documenter.HTML(;
10+
prettyurls=get(ENV, "CI", "false") == "true",
11+
canonical="https://juliagpu.github.io/KernelAbstractions.jl",
12+
assets=String[],
813
),
9-
pages = [
14+
pages=[
1015
"Home" => "index.md",
1116
"Writing kernels" => "kernels.md",
1217
"Examples" => [
13-
"examples/memcopy.md"
14-
"examples/memcopy_static.md"
15-
"examples/naive_transpose.md"
16-
"examples/performance.md"
17-
"examples/matmul.md"
18-
],
19-
"API" => "api.md",
18+
"examples/memcopy.md",
19+
"examples/memcopy_static.md",
20+
"examples/naive_transpose.md",
21+
"examples/performance.md",
22+
"examples/matmul.md",
23+
], # Examples
24+
"API" => "api.md",
2025
"Extras" => [
21-
"extras/unrolling.md"
22-
]
23-
],
24-
doctest = true
26+
"extras/unrolling.md",
27+
], # Extras
28+
], # pages
29+
)
30+
31+
deploydocs(;
32+
repo="github.com/JuliaGPU/KernelAbstractions.jl",
2533
)

0 commit comments

Comments
 (0)