Skip to content

Commit c2a17af

Browse files
authored
Merge pull request #20 from JuliaAstro/docs
docs: created
2 parents c82aca7 + 87324dd commit c2a17af

File tree

7 files changed

+563
-461
lines changed

7 files changed

+563
-461
lines changed

.github/workflows/docs.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Docs
2+
3+
on:
4+
push:
5+
branches: [main]
6+
tags: ["*"]
7+
pull_request:
8+
branches: [main]
9+
concurrency:
10+
# Skip intermediate builds: always.
11+
# Cancel intermediate builds: only if it is a pull request build.
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
14+
jobs:
15+
docs:
16+
name: build
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v6
20+
- uses: julia-actions/setup-julia@v2
21+
with:
22+
version: "1"
23+
- uses: julia-actions/cache@v2
24+
- uses: julia-actions/julia-buildpkg@v1
25+
- uses: julia-actions/julia-docdeploy@releases/v1
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
29+
GKSwstype: "100" # fix GKS socket error for plots made in @example blocks
30+

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
/deps/build.log
33
/Artifacts.toml
44
/build
5-
/products
5+
/products
6+
/docs/build

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Torrance Hodgson <torrance@pravic.xyz>", "Kiran Shila <me@kiranshila
66
version = "0.4.0"
77

88
[workspace]
9-
projects = ["test"]
9+
projects = ["test", "docs"]
1010

1111
[deps]
1212
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"

0 commit comments

Comments
 (0)