Skip to content

Commit

Permalink
Fix Docs, and run docs at CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aviks committed Dec 7, 2023
1 parent e5f055a commit 65bca48
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,18 @@ jobs:
- uses: julia-actions/julia-runtest@latest
with:
coverage: false

docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: '1.9'
- run: julia --project=docs -e '
using Pkg;
Pkg.develop(PackageSpec(; path=pwd()));
Pkg.instantiate();'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 1 addition & 5 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,4 @@ makedocs(
"Home" => "index.md",
"API" => "api.md"
]
)

deploydocs(
repo = "github.com/JuliaText/Languages.jl.git"
)
)
3 changes: 2 additions & 1 deletion docs/src/api.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
```@autodocs
Modules = [Languages]
Private = false
```


0 comments on commit 65bca48

Please sign in to comment.