kitgit

tirbofish/dropbear · diff

a6a5f38 · tk

started the switching to swift instead of gleam (as it is more suitable)

Unverified

diff --git a/.github/workflows/swift_doc.yaml b/.github/workflows/swift_doc.yaml
new file mode 100644
index 0000000..0ac991f
--- /dev/null
+++ b/.github/workflows/swift_doc.yaml
@@ -0,0 +1,168 @@
+name: Generate Swift Documentation
+
+on:
+  push:
+    branches: [ main ]
+    paths:
+      - '**/*.swift'
+      - '.github/workflows/swift-docs.yaml'
+  pull_request:
+    branches: [ main ]
+    paths:
+      - '**/*.swift'
+  workflow_dispatch:
+
+permissions:
+  contents: read
+  pages: write
+  id-token: write
+
+concurrency:
+  group: "pages"
+  cancel-in-progress: false
+
+jobs:
+  generate-docs:
+    runs-on: ubuntu-latest
+    
+    steps:
+    - name: Checkout repository
+      uses: actions/checkout@v4
+      with:
+        submodules: recursive
+    
+    - name: Setup Swift
+      uses: swift-actions/setup-swift@v1
+      with:
+        swift-version: "5.9"
+    
+    - name: Install Swift-DocC Plugin
+      run: |
+        # Install Swift-DocC plugin for documentation generation
+        swift package plugin --allow-writing-to-directory docs \
+          generate-documentation --target dropbear --disable-indexing \
+          --transform-for-static-hosting --hosting-base-path dropbear \

Large diffs are not rendered by default. Showing the first 50 of 1930 lines. Show full diff