|
1 |
| -using Documenter, KernelAbstractions |
| 1 | +using KernelAbstractions |
| 2 | +using Documenter |
2 | 3 |
|
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[], |
8 | 13 | ),
|
9 |
| - pages = [ |
| 14 | + pages=[ |
10 | 15 | "Home" => "index.md",
|
11 | 16 | "Writing kernels" => "kernels.md",
|
12 | 17 | "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", |
20 | 25 | "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", |
25 | 33 | )
|
0 commit comments