forked from JuliaGPU/CUDA.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.jl
28 lines (25 loc) · 732 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
using Documenter, CUDAdrv
const src = "https://github.com/JuliaGPU/CUDAdrv.jl"
const dst = "https://juliagpu.gitlab.io/CUDAdrv.jl/"
function main()
makedocs(
sitename = "CUDAdrv.jl",
authors = "Tim Besard",
repo = "$src/blob/{commit}{path}#{line}",
format = Documenter.HTML(
# Use clean URLs on CI
prettyurls = get(ENV, "CI", nothing) == "true",
canonical = dst,
assets = ["assets/favicon.ico"],
analytics = "UA-154489943-5",
),
doctest = false,
pages = Any[
"Home" => "index.md",
"APIs" => [
"driver.md",
]
]
)
end
isinteractive() || main()