Skip to content

Commit

Permalink
linkcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiristseng committed Mar 18, 2024
1 parent 73c17c6 commit 7469c67
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Julia
uses: julia-actions/setup-julia@v1
- name: Convert literate notebooks to ipynb files
shell: julia --color=yes {0}
working-directory: docs
run: |
import Pkg
Pkg.add("Literate")
using Literate
for (root, dirs, files) in walkdir(pwd())
for file in files
if endswith(file, ".jl")
nb = joinpath(root, file)
Literate.notebook(nb, dirname(nb); mdstrings=true, execute=false)
end
end
end
- name: Setup Python
uses: actions/setup-python@v5
id: cp
Expand Down

0 comments on commit 7469c67

Please sign in to comment.