Skip to content

Commit 65bca48

Browse files
committed
Fix Docs, and run docs at CI
1 parent e5f055a commit 65bca48

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,18 @@ jobs:
4646
- uses: julia-actions/julia-runtest@latest
4747
with:
4848
coverage: false
49-
49+
docs:
50+
name: Documentation
51+
runs-on: ubuntu-latest
52+
steps:
53+
- uses: actions/checkout@v4
54+
- uses: julia-actions/setup-julia@latest
55+
with:
56+
version: '1.9'
57+
- run: julia --project=docs -e '
58+
using Pkg;
59+
Pkg.develop(PackageSpec(; path=pwd()));
60+
Pkg.instantiate();'
61+
- run: julia --project=docs docs/make.jl
62+
env:
63+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docs/make.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,4 @@ makedocs(
99
"Home" => "index.md",
1010
"API" => "api.md"
1111
]
12-
)
13-
14-
deploydocs(
15-
repo = "github.com/JuliaText/Languages.jl.git"
16-
)
12+
)

docs/src/api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
```@autodocs
22
Modules = [Languages]
3-
Private = false
43
```
4+
5+

0 commit comments

Comments
 (0)