From 80980df60e42c3f4e928584afcf509c80b38313a Mon Sep 17 00:00:00 2001 From: Laytan Laats Date: Fri, 1 Nov 2024 17:09:03 +0100 Subject: [PATCH] try add freebsd and kqueue package to docs --- .github/workflows/deploy.yml | 14 ++++++++------ main.odin | 2 ++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d0a511fffc..6572d08058 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: | @@ -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 diff --git a/main.odin b/main.odin index aabdef5a72..10f541109a 100644 --- a/main.odin +++ b/main.odin @@ -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