Skip to content

Commit

Permalink
try add freebsd and kqueue package to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
laytan committed Nov 1, 2024
1 parent 911aeb5 commit 80980df
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ jobs:
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
cd Odin
odin doc examples/all -all-packages -doc-format -show-debug-messages -target:windows_amd64
odin doc core/sys/darwin -all-packages -doc-format -show-debug-messages -target:darwin_arm64
odin doc core/sys/linux -all-packages -doc-format -show-debug-messages -target:linux_amd64
odin doc core/sys/unix -all-packages -doc-format -show-debug-messages -target:linux_amd64
odin doc core/sys/haiku -all-packages -doc-format -show-debug-messages -target:haiku_amd64
odin doc examples/all -all-packages -doc-format -show-debug-messages -target:windows_amd64
odin doc examples/all/all_posix.odin -file -all-packages -doc-format -show-debug-messages -target:darwin_arm64
odin doc core/sys/darwin -all-packages -doc-format -show-debug-messages -target:darwin_arm64
odin doc core/sys/freebsd -all-packages -doc-format -show-debug-messages -target:freebsd_amd64
odin doc core/sys/linux -all-packages -doc-format -show-debug-messages -target:linux_amd64
odin doc core/sys/unix -all-packages -doc-format -show-debug-messages -target:linux_amd64
odin doc core/sys/haiku -all-packages -doc-format -show-debug-messages -target:haiku_amd64
- name: Generate Tool
shell: cmd
run: |
Expand All @@ -55,7 +57,7 @@ jobs:
copy resources\CNAME website\static\CNAME
copy resources\favicon.svg website\static\favicon.svg
pushd website\static
..\odin-html-docs.exe ..\all.odin-doc --merge ..\darwin.odin-doc ..\linux.odin-doc ..\unix.odin-doc ..\haiku.odin-doc
..\odin-html-docs.exe ..\all.odin-doc --merge ..\darwin.odin-doc ..\all_posix.odin-doc ..\freebsd.odin-doc ..\linux.odin-doc ..\unix.odin-doc ..\haiku.odin-doc
popd
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 2 additions & 0 deletions main.odin
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,8 @@ target_from_pkg :: proc(pkg: ^doc.Pkg) -> (target: string, ok: bool) {
target = "linux_arm64"
case "haiku":
target = "haiku_arm64"
case "freebsd":
target = "freebsd_amd64"
}
}
return
Expand Down

0 comments on commit 80980df

Please sign in to comment.