Skip to content

Commit 4ec8066

Browse files
authored
Merge pull request #167 from JuliaGPU/dpa/deploy-docs
Deploy the docs to GitHub Pages
2 parents 8fd26ae + b4b0e2e commit 4ec8066

File tree

2 files changed

+32
-21
lines changed

2 files changed

+32
-21
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ KernelAbstractions.jl
22
==============
33
*Ash dushum durbatulûk, ash dushum gimbatul, ash dushum thrakatulûk, agh burzum-ishi krimpatul*
44

5+
[![Documentation (stable)][docs-stable-img]][docs-stable-url]
56
[![Documentation (latest)][docs-latest-img]][docs-latest-url]
67
[![DOI][doi-img]][doi-url]
78
[![Bors][bors-img]][bors-url]
@@ -11,8 +12,10 @@ KernelAbstractions.jl
1112
| 1.5 | [![CI][ci-img]][ci-url] | [![Build status][buildkite-julia1-img]][buildkite-julia1-url] |
1213
| nightly | [![CI][ci-julia-nightly-img]][ci-julia-nightly-url] | [![Build status][buildkite-julianightly-img]][buildkite-julianightly-url] |
1314

14-
[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg
15-
[docs-latest-url]: https://juliagpu.gitlab.io/KernelAbstractions.jl/
15+
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
16+
[docs-stable-url]: https://juliagpu.github.io/KernelAbstractions.jl/stable
17+
[docs-latest-img]: https://img.shields.io/badge/docs-dev-blue.svg
18+
[docs-latest-url]: https://juliagpu.github.io/KernelAbstractions.jl/dev
1619
[doi-img]: https://zenodo.org/badge/237471203.svg
1720
[doi-url]: https://zenodo.org/badge/latestdoi/237471203
1821
[bors-img]: https://bors.tech/images/badge_small.svg
@@ -29,4 +32,4 @@ KernelAbstractions.jl
2932
License
3033
-------
3134

32-
KernelAbstractions.jl is licensed under [MIT license](LICENSE.md).
35+
KernelAbstractions.jl is licensed under the [MIT license](LICENSE.md).

docs/make.jl

+26-18
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)