kitgit

tirbofish/dropbear · diff

09d5dab · tk

added docs with dokka, added publishing (mavenLocal) because fuck dealing with namespacing. worked a bunch on native functions and rust. also got native library linking working, a better gradle project and *soon to be* some more updated UI to allow for better script attachment. a lot of stuff a broken, but thats an issue for later me.

Unverified

diff --git a/.env-example b/.env-example
new file mode 100644
index 0000000..147c983
--- /dev/null
+++ b/.env-example
@@ -0,0 +1,2 @@
+GITHUB_USERNAME=your-github-username
+GITHUB_TOKEN=your-personal-access-token
\ No newline at end of file
diff --git a/.github/workflows/dokka_docs.yaml b/.github/workflows/dokka_docs.yaml
new file mode 100644
index 0000000..797d759
--- /dev/null
+++ b/.github/workflows/dokka_docs.yaml
@@ -0,0 +1,39 @@
+name: Deploy Documentation
+
+on:
+  push:
+    branches:
+      - main
+  workflow_dispatch:
+
+permissions:
+  contents: write
+
+jobs:
+  deploy-docs:
+    runs-on: ubuntu-latest
+
+    steps:
+      - name: Checkout repository
+        uses: actions/checkout@v4
+
+      - name: Set up JDK 21
+        uses: actions/setup-java@v4
+        with:
+          java-version: '21'
+          distribution: 'temurin'
+          cache: 'gradle'
+
+      - name: Grant execute permission for gradlew
+        run: chmod +x gradlew
+
+      - name: Generate documentation
+        run: ./gradlew dokkaHtml
+
+      - name: Deploy to GitHub Pages
+        uses: peaceiris/actions-gh-pages@v3
+        with:

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